summaryrefslogtreecommitdiff
path: root/lang/tcl-otcl
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2004-04-11 09:30:18 +0000
committerseb <seb@pkgsrc.org>2004-04-11 09:30:18 +0000
commitbb4de653a82260d6432587912b522cda5b3a3c37 (patch)
treeb0c5132ab467672e02ab6549209f7bfa13c031d0 /lang/tcl-otcl
parentf237f0a753c1901413c7475c7f49ef42952c59e2 (diff)
downloadpkgsrc-bb4de653a82260d6432587912b522cda5b3a3c37.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 V_LIBS as a configure argument.
Diffstat (limited to 'lang/tcl-otcl')
-rw-r--r--lang/tcl-otcl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/tcl-otcl/Makefile b/lang/tcl-otcl/Makefile
index 838fb2a22f5..0888b55c6c3 100644
--- a/lang/tcl-otcl/Makefile
+++ b/lang/tcl-otcl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/03/08 23:47:44 minskim Exp $
+# $NetBSD: Makefile,v 1.10 2004/04/11 09:30:18 seb Exp $
DISTNAME= otcl-1.8
PKGNAME= tcl-${DISTNAME}
@@ -16,6 +16,7 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_X11= yes
+CONFIGURE_ARGS+= V_LIBS="`${CONFIG_SHELL} -c '. ${TCLCONFIG_SH}; echo $$TCL_LIBS'`"
CONFIGURE_ARGS+= --with-tcl=${BUILDLINK_PREFIX.tcl}
CONFIGURE_ARGS+= --with-tk=${BUILDLINK_PREFIX.tk}