summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoragc <agc>1999-04-01 09:55:42 +0000
committeragc <agc>1999-04-01 09:55:42 +0000
commite6bccee5cf4ead09c19650d84e8e014a081d5b2b (patch)
tree0cad013f5db43a8fdfb1b3e30fdb80eac544760a /lang
parent0678c5bbdac7142f590bcc5d78b3ff984620c831 (diff)
downloadpkgsrc-e6bccee5cf4ead09c19650d84e8e014a081d5b2b.tar.gz
Do the calculation of shared lib name suffices in the configure script.
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl80/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/lang/tcl80/Makefile b/lang/tcl80/Makefile
index 1b94c73adbd..cbd9c99f6cf 100644
--- a/lang/tcl80/Makefile
+++ b/lang/tcl80/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 1999/01/26 06:56:54 agc Exp $
+# $NetBSD: Makefile,v 1.19 1999/04/01 09:55:42 agc Exp $
# FreeBSD Id: Makefile,v 1.1.1.1 1997/08/20 10:33:35 jkh Exp
#
@@ -13,22 +13,10 @@ HOMEPAGE= http://www.scriptics.com/
WRKSRC= ${WRKDIR}/tcl8.0/unix
GNU_CONFIGURE= yes
-# let libtool deal with shared libraries
+# Use disable-shared, so that libtool works with the generated Makefile
USE_LIBTOOL= yes
CONFIGURE_ARGS+= --disable-shared
-# If the build system supports shared objects, enable them in tcl.
-# libtermcap was chosen as it doesn't change version numbers frequently.
-.if exists(/usr/lib/libtermcap.so.0.0)
-post-configure:
- @${ECHO} "Enabling shared object support in ${PKGNAME}"
- cd ${WRKSRC}; \
- ${MV} tclConfig.sh tclConfig.sh.orig; \
- ${SED} -e 's/TCL_SHARED_BUILD=.*/TCL_SHARED_BUILD=1/' \
- -e 's/TCL_LIB_FILE=.*/TCL_LIB_FILE=libtcl80.so.1.0/' \
- tclConfig.sh.orig > tclConfig.sh
-.endif
-
test:
cd ${WRKSRC} && ${SETENV} LIBTOOL=${LIBTOOL} PREFIX=${PREFIX} ${MAKE} test