summaryrefslogtreecommitdiff
path: root/x11/tk80
diff options
context:
space:
mode:
authoragc <agc>1999-04-01 10:20:07 +0000
committeragc <agc>1999-04-01 10:20:07 +0000
commita5643d2b2f5524abd36b31b27af911e6a7da2c8d (patch)
tree82681767380e8b2594ac98f03ffc6df30bb5201b /x11/tk80
parentff6c9079423beabc63292de5d54a7a1d27b0ab1e (diff)
downloadpkgsrc-a5643d2b2f5524abd36b31b27af911e6a7da2c8d.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/Makefile14
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