diff options
author | seb <seb@pkgsrc.org> | 2004-04-11 09:31:13 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2004-04-11 09:31:13 +0000 |
commit | 35a6a17aae1ea6ce6efea782120c9bbdbd462f66 (patch) | |
tree | e63f6e5ab66648227c06fcdc7eec17de241dd646 | |
parent | 6750f6e0a6d1ecccfc92a748996a60455f7be8c3 (diff) | |
download | pkgsrc-35a6a17aae1ea6ce6efea782120c9bbdbd462f66.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.
-rw-r--r-- | net/ns/Makefile | 3 |
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} |