[35350] trunk/dports/lang/tcl/Portfile
mww at macports.org
mww at macports.org
Tue Mar 25 08:54:52 PDT 2008
Revision: 35350
http://trac.macosforge.org/projects/macports/changeset/35350
Author: mww at macports.org
Date: 2008-03-25 08:54:51 -0700 (Tue, 25 Mar 2008)
Log Message:
-----------
add 'thread' variant for multi-threading supoprt -- #14416
Modified Paths:
--------------
trunk/dports/lang/tcl/Portfile
Modified: trunk/dports/lang/tcl/Portfile
===================================================================
--- trunk/dports/lang/tcl/Portfile 2008-03-25 15:51:57 UTC (rev 35349)
+++ trunk/dports/lang/tcl/Portfile 2008-03-25 15:54:51 UTC (rev 35350)
@@ -37,6 +37,12 @@
ln -s ${prefix}/lib/libtcl8.5.dylib ${destroot}${prefix}/lib/libtcl.dylib
}
+# dont enable threads by default as Tcl uses thread-local storage which makes
+# passing Tcl_Obj* around between threads fatal
+variant threads description {add multithreading support} {
+ configure.args-append --enable-threads
+}
+
# Files with failing tests: socket.test
test.run yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080325/83b7538b/attachment.html
More information about the macports-changes
mailing list