Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 18:04:21 +0200 (CEST)
From:      Henrik Motakef <henrik.motakef@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37459: Patch for ocaml-pcre port (PR 37354)
Message-ID:  <20020425160421.703ED5BE@apo.hmotakef.homeip.net>

next in thread | raw e-mail | index | archive | help

>Number:         37459
>Category:       ports
>Synopsis:       Patch for ocaml-pcre port (PR 37354)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 25 09:10:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Motakef
>Release:        FreeBSD 4.5-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD apo.hmotakef.int 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Sat Apr 6 13:08:00 CEST 2002 toor@apo.hmotakef.int:/usr/obj/usr/src/sys/APO_SYSCONS i386
>Description:
	The port I submitted for ocaml-pcre doesn't update lib/ocaml/ld.conf
        properly when (de)installed as a package
>How-To-Repeat:
	Install the port as a package, or deinstall it.	
>Fix:
--- pkg-plist.orig	Thu Apr 25 18:02:17 2002
+++ pkg-plist	Thu Apr 25 17:52:09 2002
@@ -8,3 +8,5 @@
 lib/ocaml/site-lib/pcre/pcre.mli
 lib/ocaml/site-lib/pcre/META
 @dirrm lib/ocaml/site-lib/pcre
+@exec echo "Updating %D/lib/ocaml/ld.conf"; echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf
+@unexec echo "Updating %D/lib/ocaml/ld.conf"; cp %D/lib/ocaml/ld.conf %D/lib/ocaml/ld.conf.tmp; grep -v "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf.tmp > %D/lib/ocaml/ld.conf; rm %D/lib/ocaml/ld.conf.tmp

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020425160421.703ED5BE>