ports/155153: [update] search path update for ocaml-findlib
Jaap Boender
jaapb at kerguelen.org
Tue Mar 1 13:50:12 UTC 2011
>Number: 155153
>Category: ports
>Synopsis: [update] search path update for ocaml-findlib
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 01 13:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 8.2-STABLE
>Organization:
>Environment:
FreeBSD vanrossum.irill.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Feb 25 15:52:06 CET 2011 root at vanrossum.irill.org:/usr/obj/usr/src/sys/VANROSSUM amd64
>Description:
The search path for ocaml-findlib is set in such a way that it doesn't find some packages installed in /usr/local/lib/ocaml, for example ocaml-lablgtk2. I've added a command to the post-patch target to update the findlib config file.
>How-To-Repeat:
n/a
>Fix:
diff of the port directory included.
Patch attached with submission follows:
diff -Naur ocaml-findlib/Makefile ocaml-findlib-new/Makefile
--- ocaml-findlib/Makefile 2010-09-04 11:48:08.000000000 +0200
+++ ocaml-findlib-new/Makefile 2011-03-01 14:27:47.493180617 +0100
@@ -8,6 +8,7 @@
PORTNAME= findlib
PORTVERSION= 1.2.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://download.camlcity.org/download/
PKGNAMEPREFIX= ocaml-
@@ -42,6 +43,9 @@
-e 's,(${PATTERN}+.*SITELIB),\1\$${BSD_INSTALL_DATA} \3,' \
${WRKSRC}/Makefile ${WRKSRC}/src/findlib/Makefile \
${WRKSRC}/src/findlib-toolbox/Makefile
+ ${REINPLACE_CMD} \
+ -e 's,path="@SITELIB@",path="@SITELIB@:${PREFIX}/lib/ocaml",' \
+ ${WRKSRC}/findlib.conf.in
post-install:
.if !defined(NOPORTDOCS)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list