From ac38ab5c61925cc572954501c82d92c8b467e765 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 1 Apr 1999 09:55:42 +0000 Subject: Do the calculation of shared lib name suffices in the configure script. --- lang/tcl80/Makefile | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'lang') 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 -- cgit v1.2.3