summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX
diff options
context:
space:
mode:
authorminskim <minskim>2005-01-13 14:39:25 +0000
committerminskim <minskim>2005-01-13 14:39:25 +0000
commite2520c12ddb50aad5676606dca18c75a20c3c946 (patch)
treebdb629b7a36fa65769afd59c7e8f0acb9ae01291 /lang/tcl-tclX
parenteac4f7ebdb2940675f999fdf68e0d62a6a0bd5ca (diff)
downloadpkgsrc-e2520c12ddb50aad5676606dca18c75a20c3c946.tar.gz
Use TCL_VERSION instead of hardcoding the Tcl version number.
Diffstat (limited to 'lang/tcl-tclX')
-rw-r--r--lang/tcl-tclX/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/tcl-tclX/Makefile b/lang/tcl-tclX/Makefile
index 7c44c8af5f5..406a23fde61 100644
--- a/lang/tcl-tclX/Makefile
+++ b/lang/tcl-tclX/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2005/01/08 23:14:52 minskim Exp $
+# $NetBSD: Makefile,v 1.27 2005/01/13 14:39:25 minskim Exp $
#
DISTNAME= tclx8.3.5-src
@@ -11,6 +11,8 @@ MAINTAINER= jwise@NetBSD.org
HOMEPAGE= http://tclx.sourceforge.net/
COMMENT= Extended Tcl (TclX), a set of Tcl extensions for system programming
+.include "../../lang/tcl/Makefile.version"
+
CONFLICTS+= tclX-[0-9]*
BUILDLINK_DEPENDS.tcl+= tcl>=8.4.7
@@ -27,7 +29,7 @@ TEST_TARGET= test
.include "../../mk/bsd.prefs.mk"
-PKGSRC_TCL_SRC_DIR= ${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl8.4.9
+PKGSRC_TCL_SRC_DIR= ${PKGSRCDIR}/lang/tcl/${WRKDIR:T}/tcl${TCL_VERSION}
CONFIGURE_ENV+= PKGSRC_TCL_SRC_DIR="${PKGSRC_TCL_SRC_DIR}"
MAKE_ENV+= GTAR=${GTAR} CHOWN=${CHOWN} CHMOD=${CHMOD} \