ports/180753: [PATCH] devel/ocaml-opam: fix build error of util.ml
Jyun-Yan You
jyyou at cs.nctu.edu.tw
Tue Jul 23 06:00:01 UTC 2013
>Number: 180753
>Category: ports
>Synopsis: [PATCH] devel/ocaml-opam: fix build error of util.ml
>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: Tue Jul 23 06:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jyun-Yan You
>Release: FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD alumni.cs.nctu.edu.tw 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17 11:42:37 UTC 2013
>Description:
This patch fixes the build error of util.ml when we use system-optimized ocaml binaries by default.
Port maintainer (joris.gio at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- ocaml-opam-1.0.0.patch begins here ---
diff -ruN /usr/ports/devel/ocaml-opam/Makefile ./Makefile
--- /usr/ports/devel/ocaml-opam/Makefile 2013-07-02 04:07:20.000000000 +0800
+++ ./Makefile 2013-07-23 13:41:12.961006000 +0800
@@ -41,4 +41,13 @@
opam.1 \
opam-reinstall.1
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/camlp4o.byte)
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's/camlp4o/camlp4o.byte/' \
+ ${WRKSRC}/src_ext/depends.ocp.boot
+.endif
+
+.include <bsd.port.post.mk>
--- ocaml-opam-1.0.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list