[36531] trunk/dports/science/hdf5/Portfile
jochen at macports.org
jochen at macports.org
Mon May 5 02:42:06 PDT 2008
Revision: 36531
http://trac.macosforge.org/projects/macports/changeset/36531
Author: jochen at macports.org
Date: 2008-05-05 02:42:05 -0700 (Mon, 05 May 2008)
Log Message:
-----------
Provide threadsafety only via variant
Modified Paths:
--------------
trunk/dports/science/hdf5/Portfile
Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile 2008-05-05 09:38:16 UTC (rev 36530)
+++ trunk/dports/science/hdf5/Portfile 2008-05-05 09:42:05 UTC (rev 36531)
@@ -27,8 +27,7 @@
patch-H5PropList.cpp.diff
use_parallel_build yes
-configure.args --enable-cxx --with-zlib=yes --with-szlib=no \
- --enable-threadsafe
+configure.args --enable-cxx --with-zlib=yes --with-szlib=no
configure.ldflags -L${worksrcpath}/src/.libs -L${prefix}/lib
destroot.destdir prefix=${destroot}${prefix}
test.run yes
@@ -50,6 +49,12 @@
depends_lib-append port:szip
}
+variant threadsafe description {Enable threadsafety} {
+ configure.args-delete --disable-threadsafe
+ configure.args-append --enable-threadsafe
+}
+
+
variant gcc42 conflicts g95 gcc43 description {Compile using GCC 4.2} {
depends_lib-append port:gcc42
configure.compiler macports-gcc-4.2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080505/3bde1555/attachment.html
More information about the macports-changes
mailing list