ports/141837: [update] patch to make lang/ocamlduce compile
Jaap Boender
jaapb at kerguelen.org
Mon Dec 21 12:40:04 UTC 2009
>Number: 141837
>Category: ports
>Synopsis: [update] patch to make lang/ocamlduce compile
>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: Mon Dec 21 12:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Jaap Boender
>Release: 8.0-STABLE
>Organization:
>Environment:
FreeBSD marion-dufresne.pps.jussieu.fr 8.0-STABLE FreeBSD 8.0-STABLE #12: Tue Dec 1 09:54:46 CET 2009 root at marion-dufresne.pps.jussieu.fr:/usr/obj/usr/src/sys/MARION-DUFRESNE i386
>Description:
If the tcl/tk bindings are selected for ocaml, ocamlduce doesn't compile, because the C flags in Makefile.config are not quoted.
>How-To-Repeat:
install ocaml with the tcl/tk bindings, try to compile lang/ocamlduce
>Fix:
patch (to the port Makefile) attached.
Patch attached with submission follows:
--- Makefile 2009-12-21 13:26:59.000000000 +0100
+++ Makefile.new 2009-12-21 13:24:41.000000000 +0100
@@ -7,7 +7,7 @@
PORTNAME= ocaml
PORTVERSION= 3.11.1
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME:R}/ \
ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:R}/ \
@@ -77,8 +77,8 @@
PLIST_SUB+= TK=""
CONFLICTS+= ocaml-nox11-[0-9]* ocaml-notk-[0-9]*
CONFIGURE_ARGS+= -tkdefs \
- "-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} ${THR_CPP}" \
- -tklibs "-L${LOCALBASE}/lib ${THR_LD}"
+ "\"-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} ${THR_CPP}\"" \
+ -tklibs "\"-L${LOCALBASE}/lib ${THR_LD}\""
.endif
.if ${ARCH} == sparc64
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list