From 78cbcec6419edd919a1e6ce95b2d004bd9c2cba0 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 1 Apr 1999 10:20:07 +0000 Subject: Use the configure script to work out whether we're building shared libs. --- x11/tk80/Makefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'x11') diff --git a/x11/tk80/Makefile b/x11/tk80/Makefile index 13d17a1e37d..0c4b1c09562 100644 --- a/x11/tk80/Makefile +++ b/x11/tk80/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 1999/01/30 23:18:57 agc Exp $ +# $NetBSD: Makefile,v 1.24 1999/04/01 10:20:07 agc Exp $ # FreeBSD Id: Makefile,v 1.4 1997/10/01 09:20:31 tg Exp # @@ -21,18 +21,6 @@ USE_X11= yes USE_LIBTOOL= yes CONFIGURE_ARGS+= --disable-shared -# If the build system supports shared objects, enable them in tk. -# 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} tkConfig.sh tkConfig.sh.orig; \ - ${SED} -e 's/TK_SHARED_BUILD=.*/TK_SHARED_BUILD=1/' \ - -e 's/TK_LIB_FILE=.*/TK_LIB_FILE=libtk80.so.1.0/' \ - tkConfig.sh.orig > tkConfig.sh -.endif - test: cd ${WRKSRC}; ${SETENV} LIBTOOL=${LIBTOOL} PREFIX=${PREFIX} ${MAKE} test -- cgit v1.2.3