ports/132678: [patch] devel/ocaml-equeue to support Tcl 8.5
Hirohisa Yamaguchi
umq at ueo.co.jp
Sun Mar 15 23:20:02 UTC 2009
>Number: 132678
>Category: ports
>Synopsis: [patch] devel/ocaml-equeue to support Tcl 8.5
>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 Mar 15 23:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Hirohisa Yamaguchi
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
<organization of PR author (multiple lines)>
>Environment:
System: FreeBSD calliope.****.org 8.0-CURRENT FreeBSD 8.0-CURRENT #19: Thu Feb 26 05:44:54 JST 2009 root at calliope.****.org:/usr/obj/usr/src/sys/CALLIOPE64 amd64
>Description:
devel/ocaml-equeue hard codes lang/tcl84 though it can be
built with lang/tcl85
>How-To-Repeat:
1. cd /usr/ports/devel/ocaml-equeue
2. make depends -DWITH_EQUEUE_TCL
lang/tcl84 will be installed regardless any version of tcl is
installed
>Fix:
the patch follows
cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/ocaml-equeue/Makefile,v
retrieving revision 1.8
diff -p -u -r1.8 Makefile
--- Makefile 19 May 2007 20:03:18 -0000 1.8
+++ Makefile 14 Mar 2009 18:26:28 -0000
@@ -7,7 +7,7 @@
PORTNAME= equeue
PORTVERSION= 2.1.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.ocaml-programming.de/packages/
PKGNAMEPREFIX= ocaml-
@@ -32,8 +32,8 @@ ALL_TARGET= all opt
PKGDEINSTALL= ${PKGINSTALL}
.if defined(WITH_EQUEUE_TCL)
-BUILD_DEPENDS+= ${LOCALBASE}/include/tcl8.4:${PORTSDIR}/lang/tcl84
-CONFIGURE_ARGS+= -with-equeue-tcl -equeue-tcl-defs "-I${LOCALBASE}/include/tcl8.4" -equeue-tcl-libs "-L${LOCALBASE}/lib -ltcl84"
+USE_TCL= 84+
+CONFIGURE_ARGS+= -with-equeue-tcl -equeue-tcl-defs "-I${TCL_INCLUDEDIR}" -equeue-tcl-libs "-L${LOCALBASE}/lib -ltcl${TCL_VER:S/.//}"
PLIST_SUB+= TCL=""
.else
PLIST_SUB+= TCL="@comment "
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list