diff options
author | agc <agc> | 1999-04-01 10:20:07 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-01 10:20:07 +0000 |
commit | 78cbcec6419edd919a1e6ce95b2d004bd9c2cba0 (patch) | |
tree | 82681767380e8b2594ac98f03ffc6df30bb5201b /x11/tk80 | |
parent | 809d89ebdbe9072784817b7c8a9072526baf5ea7 (diff) | |
download | pkgsrc-78cbcec6419edd919a1e6ce95b2d004bd9c2cba0.tar.gz |
Use the configure script to work out whether we're building shared libs.
Diffstat (limited to 'x11/tk80')
-rw-r--r-- | x11/tk80/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
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 |