summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-04-12 17:28:47 +0000
committerseb <seb@pkgsrc.org>2004-04-12 17:28:47 +0000
commit229fd3693f6b674d95c7578724947f9dd0b70d0a (patch)
tree9193c0a775fb5b46ebb5acffc8e77e4d57f6b9eb
parenta03ae14e75a9ca32927202d47688395447454240 (diff)
downloadpkgsrc-229fd3693f6b674d95c7578724947f9dd0b70d0a.tar.gz
Hack to fix build with threaded Tcl package: at configure time snarf the value
of {TCL,TK}_LIBS in {tcl,tk}Config.sh and pass it down to configure via V_LIBS in environment.
-rw-r--r--net/nam/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/nam/Makefile b/net/nam/Makefile
index bb8281a68bb..0a498bc9340 100644
--- a/net/nam/Makefile
+++ b/net/nam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/03/08 23:56:56 minskim Exp $
+# $NetBSD: Makefile,v 1.13 2004/04/12 17:28:47 seb Exp $
DISTNAME= nam-src-1.10
PKGNAME= ${DISTNAME:S/-src//}
@@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}
CONFIGURE_ARGS+= --with-otcl=${BUILDLINK_PREFIX.tcl-otcl}
CONFIGURE_ARGS+= --with-tclcl=${BUILDLINK_PREFIX.tcl-tclcl}
+CONFIGURE_ENV+= V_LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; . ${TKCONFIG_SH}; echo $$TCL_LIBS $$TK_LIBS'`"
+
MESSAGE_SUBST+= HOMEPAGE=${HOMEPAGE}
INSTALLATION_DIRS= bin