aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-04-05 12:37:59 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-04-05 12:37:59 +0000
commit8926ff3d5007512d298d5a1de618309b67deec9f (patch)
tree783457f0433c535c30cdfcb69da340f119a92ec1 /lang
parent98d5084a24ce8464ecac4df6bcea9b9dec8a9309 (diff)
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/xotcl/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/lang/xotcl/Makefile b/lang/xotcl/Makefile
index 17d1f6ecb01b..f0057a4187d9 100644
--- a/lang/xotcl/Makefile
+++ b/lang/xotcl/Makefile
@@ -11,16 +11,12 @@ PORTREVISION= 4
CATEGORIES?= lang tcl84
MASTER_SITES= http://media.wu-wien.ac.at/download/
-MAINTAINER= martin@matuska.org
+MAINTAINER= mm@FreeBSD.org
COMMENT= Object-oriented scripting language based on Tcl
-USE_TCL_VER?= 84
+USE_TCL= 84+
+USE_TCL_THREADS= yes
-.if ${USE_TCL_VER} != 84 && ${USE_TCL_VER} != 85
-IGNORE= supported values for USE_TCL_VER are only 84 and 85
-.endif
-
-LIB_DEPENDS+= tcl${USE_TCL_VER}-threads:${PORTSDIR}/lang/tcl${USE_TCL_VER}-thread
INSTALL_TARGET= install
ALL_TARGET= all test-nohttp
USE_GMAKE= yes
@@ -70,12 +66,12 @@ MAN1= xotclsh.1
CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
--libdir=${PREFIX}/lib \
--enable-threads \
- --with-tcl=${LOCALBASE}/lib/tcl${USE_TCL_VER:S/8/8./}-threads \
- --with-tclinclude=${LOCALBASE}/include/tcl${USE_TCL_VER:S/8/8./}/generic/ \
+ --with-tcl=${TCL_LIBDIR} \
+ --with-tclinclude=${TCL_INCLUDEDIR}/generic/ \
--with-xotclsh
post-patch:
- @${REINPLACE_CMD} -e 's|$${TCL_MINOR_VERSION}$${TCL_DBGX}|$${TCL_MINOR_VERSION}$${TCL_DBGX}-threads|g' \
+ @${REINPLACE_CMD} -e 's|TCLSH_PROG=".*"|TCLSH_PROG="${TCLSH}"|g' \
${WRKSRC}/configure
.if defined(AOLSERVER_XOTCL) # Install for aolserver module