summaryrefslogtreecommitdiff
path: root/lang/tcl/Makefile
diff options
context:
space:
mode:
authorjwise <jwise>2004-06-15 16:39:12 +0000
committerjwise <jwise>2004-06-15 16:39:12 +0000
commit614d01a5378f691154c6bba4bbb077093997719c (patch)
tree428454d071885a7f691558db1a7a91aaf49edc57 /lang/tcl/Makefile
parentc00615397d8b6cc7b884a104540c19c02ac402c7 (diff)
downloadpkgsrc-614d01a5378f691154c6bba4bbb077093997719c.tar.gz
Reverse previous commit (disabling thread-safety), which was poorly though
through, unacceptably breaks threaded apps, and was made without consulting the package's maintainer. To quote my mail to packages@: I am reversing this change. With this change, tcl is _not_ usable in threaded apps, while without this change, tcl is perfectly usable in non-threaded apps. The fix for a package which is incorrectly written is not to break the package it depends on, but do your job correctly when writing the package. With buildlink3, this is mind-numbingly easy to do. That you neither contacted the maintainer of this package, nor did the buildlink and dependent package changes which your change requires shows that you have not really thought this through. So, as I said, I am reversing this change. Fix your own package, don't break others.
Diffstat (limited to 'lang/tcl/Makefile')
-rw-r--r--lang/tcl/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile
index aaa76838568..5ca73ef6484 100644
--- a/lang/tcl/Makefile
+++ b/lang/tcl/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.33 2004/06/15 16:17:48 drochner Exp $
+# $NetBSD: Makefile,v 1.34 2004/06/15 16:39:12 jwise Exp $
#
DISTNAME= tcl8.4.6-src
PKGNAME= tcl-8.4.6
-PKGREVISION= 5
+PKGREVISION= 4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tcl/}
@@ -29,9 +29,7 @@ INSTALL_TARGET= install
# install to avoid overwriting existing manpages in ${PREFIX}/man.
#
CONFIGURE_ARGS+= --mandir=${WRKDIR}/man
-# can't enable threads until all potential users of libtcl.so
-# link in libpthreads
-#CONFIGURE_ARGS+= --enable-threads
+CONFIGURE_ARGS+= --enable-threads
# Add ${VIEWBASE}/lib/tcl to the list of locations for Tcl packages.
CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
@@ -45,8 +43,7 @@ CONFIGURE_ENV+= TCL_PACKAGE_PATH="${VIEWBASE}/lib/tcl"
CONFIGURE_ENV+= COMPILER_OPTIMIZATION_BUG=YES
.endif
-# see above
-#.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
# Modify mkLinks script to remove the short-filename manpage if it was
# linked to a longer filename.