summaryrefslogtreecommitdiff
path: root/net/ns
diff options
context:
space:
mode:
authorseb <seb>2004-04-11 09:31:13 +0000
committerseb <seb>2004-04-11 09:31:13 +0000
commitb029a0679dce488d04b8c4beb735610bbe096192 (patch)
treee63f6e5ab66648227c06fcdc7eec17de241dd646 /net/ns
parent2c721007d63c928dc55bc1a65ffb102af94816ad (diff)
downloadpkgsrc-b029a0679dce488d04b8c4beb735610bbe096192.tar.gz
Hack to fix build with threaded Tcl package: at configure time snarf
the value of TCL_LIBS in tclConfig.sh and pass it down to configure/make via LIBS as a configure argument.
Diffstat (limited to 'net/ns')
-rw-r--r--net/ns/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ns/Makefile b/net/ns/Makefile
index 4c84ed195fd..2806d96e475 100644
--- a/net/ns/Makefile
+++ b/net/ns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/03/09 23:06:59 minskim Exp $
+# $NetBSD: Makefile,v 1.15 2004/04/11 09:31:13 seb Exp $
DISTNAME= ns-src-2.27
PKGNAME= ${DISTNAME:S/-src//}
@@ -20,6 +20,7 @@ PTHREAD_OPTS+= require
# Perl is only needed if you want to run the validation tests.
#USE_PERL5= build
+CONFIGURE_ARGS+= LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; echo $$TCL_LIBS'`"
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
CONFIGURE_ARGS+= --with-tcl-ver=8.4
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}