pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/45c7b24f19ef
branches:  trunk
changeset: 472815:45c7b24f19ef
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Apr 12 17:28:47 2004 +0000

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

 net/nam/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 0a73a1c72733 -r 45c7b24f19ef net/nam/Makefile
--- a/net/nam/Makefile  Mon Apr 12 16:06:28 2004 +0000
+++ b/net/nam/Makefile  Mon Apr 12 17:28:47 2004 +0000
@@ -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-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



Home | Main Index | Thread Index | Old Index