Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2009 08:16:13 +0900
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/132678: [patch] devel/ocaml-equeue to support Tcl 8.5
Message-ID:  <861vsyjs1u.wl%umq@ueo.co.jp>
Resent-Message-ID: <200903152320.n2FNK1gK087325@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861vsyjs1u.wl%umq>