diff options
author | agc <agc@pkgsrc.org> | 1999-04-01 10:20:07 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-01 10:20:07 +0000 |
commit | 676a77b726aeb1169012743b55417b2c714e384e (patch) | |
tree | 82681767380e8b2594ac98f03ffc6df30bb5201b | |
parent | 77d85795fa631300e2d2d6edf0486bf98590c51b (diff) | |
download | pkgsrc-676a77b726aeb1169012743b55417b2c714e384e.tar.gz |
Use the configure script to work out whether we're building shared libs.
-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 |