pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl-otcl Hack to fix build with threaded Tcl pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/28349f1a6729
branches:  trunk
changeset: 472551:28349f1a6729
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Apr 11 09:30:18 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 V_LIBS as a configure argument.

diffstat:

 lang/tcl-otcl/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 14e0559de34f -r 28349f1a6729 lang/tcl-otcl/Makefile
--- a/lang/tcl-otcl/Makefile    Sun Apr 11 09:28:45 2004 +0000
+++ b/lang/tcl-otcl/Makefile    Sun Apr 11 09:30:18 2004 +0000
@@ -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 @@
 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}
 



Home | Main Index | Thread Index | Old Index