ports/61910: [maintainer update] Unbreak textproc/ocaml-pxp build on bento
Stephane Legrand
stephane at FreeBSD.org
Sun Jan 25 22:20:42 UTC 2004
>Number: 61910
>Category: ports
>Synopsis: [maintainer update] Unbreak textproc/ocaml-pxp build on bento
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 25 14:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Stephane Legrand <stephane at freebsd.org>
>Release: FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD 4.9-STABLE
>Description:
Please note that the enclosed patch concerns the devel/ocaml-pcre
port. Nevertheless, the aim is to unbreak textproc/ocaml-pxp.
bento has discovered that if devel/ocaml-pcre is installed as a
package, textproc/ocaml-pxp can't be built. Actually, the
devel/ocaml-pcre port modify a file named /usr/local/lib/ocaml/ld.conf
to add the directory /usr/local/lib/ocaml/site-lib/pcre/.
Unfortunately, the devel/ocaml-pcre _package_ doesn't make this
change.
>How-To-Repeat:
Install the devel/ocaml-pcre package and try to build the
textproc/ocaml-pxp port.
>Fix:
Add the line /usr/local/lib/ocaml/site-lib/pcre/ to
/usr/local/lib/ocaml/ld.conf even if devel/ocaml-pcre is installed
as a package.
diff -ruN ocaml-pcre_ORIG01/pkg-plist ocaml-pcre/pkg-plist
--- ocaml-pcre_ORIG01/pkg-plist Sun Jan 25 22:34:08 2004
+++ ocaml-pcre/pkg-plist Sun Jan 25 21:47:39 2004
@@ -7,4 +7,5 @@
lib/ocaml/site-lib/pcre/pcre.cmi
lib/ocaml/site-lib/pcre/pcre.mli
@dirrm lib/ocaml/site-lib/pcre
+ at exec echo "Updating %D/lib/ocaml/ld.conf"; if (! grep -q "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf); then echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf; fi;
@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:
More information about the freebsd-ports-bugs
mailing list