diff options
author | danw <danw@pkgsrc.org> | 2004-04-09 23:37:28 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2004-04-09 23:37:28 +0000 |
commit | 1ebcb21beaffdf28e35f794b97b2f620d5fcf7a4 (patch) | |
tree | 3bc4c4810810747504281b3eb81f13c299bd4af7 /lang/tcl/Makefile | |
parent | 44e0cbe2b234d1fd065f4ab1c08907412c7f65d3 (diff) | |
download | pkgsrc-1ebcb21beaffdf28e35f794b97b2f620d5fcf7a4.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/Makefile | 21 |
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 |