summaryrefslogtreecommitdiff
path: root/net/nam
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
commit423182161f4447b261ec19b82a55e307c58f7dfa (patch)
tree9193c0a775fb5b46ebb5acffc8e77e4d57f6b9eb /net/nam
parentaea998c0a7ca0b02006644961c6098b9808bae02 (diff)
downloadpkgsrc-423182161f4447b261ec19b82a55e307c58f7dfa.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.
Diffstat (limited to 'net/nam')
-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