pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ns Hack to fix build with threaded Tcl package: at...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/56f19e6c112c
branches:  trunk
changeset: 472553:56f19e6c112c
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Apr 11 09:31:13 2004 +0000

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

 net/ns/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9dff358935b7 -r 56f19e6c112c net/ns/Makefile
--- a/net/ns/Makefile   Sun Apr 11 09:30:37 2004 +0000
+++ b/net/ns/Makefile   Sun Apr 11 09:31:13 2004 +0000
@@ -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 @@
 # 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}



Home | Main Index | Thread Index | Old Index