summaryrefslogtreecommitdiff
path: root/lang/tcl/Makefile
diff options
context:
space:
mode:
authordanw <danw>2004-04-09 23:37:28 +0000
committerdanw <danw>2004-04-09 23:37:28 +0000
commitd9b87cc6da4a6b017c020db23164384de28b7252 (patch)
tree3bc4c4810810747504281b3eb81f13c299bd4af7 /lang/tcl/Makefile
parenta2bcc9a52a3080317051a5f1dd24f53448657e5b (diff)
downloadpkgsrc-d9b87cc6da4a6b017c020db23164384de28b7252.tar.gz
Fix up some Makefile logic that got broken by the libtool patches (and
prevented it from building on some platforms). Ensure that the built library is named libtcl84 (as opposed to libtcl8.4) on all platforms.
Diffstat (limited to 'lang/tcl/Makefile')
-rw-r--r--lang/tcl/Makefile21
1 files changed, 2 insertions, 19 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index 40a74c0726d..fb34ef6f7ea 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2004/03/25 22:49:14 jlam Exp $
+# $NetBSD: Makefile,v 1.31 2004/04/09 23:37:28 danw Exp $
#
DISTNAME= tcl8.4.6-src
PKGNAME= tcl-8.4.6
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -25,8 +25,6 @@ USE_LIBTOOL= yes
INSTALL_TARGET= install
-PLIST_SUBST+= SHLIB_SUFX="${SHLIB_SUFX}"
-
# Initially install the man pages into ${WRKDIR}/man, as we need a staged
# install to avoid overwriting existing manpages in ${PREFIX}/man.
#
@@ -38,14 +36,6 @@ CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "Darwin"
-PLIST_SUBST+= SHLIB_CMT="@comment "
-SHLIB_SUFX= dylib
-.else
-PLIST_SUBST+= SHLIB_CMT=""
-SHLIB_SUFX= la
-.endif
-
# NetBSD-1.5.x-m68k platforms apparently have a compiler optimization bug
# tickled by the Tcl code that manifests in code generation problems.
#
@@ -71,13 +61,6 @@ post-patch:
${RM} -f mkLinks.tmp; \
${CHMOD} +x mkLinks;
-pre-install:
- cd ${WRKSRC}; for file in \
- tclUnixInit.o libtcl84.so tclsh; \
- do \
- ${TOUCH} $${file}; \
- done
-
post-install:
cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX}
${RM} -rf ${WRKDIR}/man