[68871] trunk/dports/science/hdf5-18/Portfile

mmoll at macports.org mmoll at macports.org
Wed Jun 16 08:42:18 PDT 2010


Revision: 68871
          http://trac.macports.org/changeset/68871
Author:   mmoll at macports.org
Date:     2010-06-16 08:42:17 -0700 (Wed, 16 Jun 2010)
Log Message:
-----------
science/hdf5-18: bump version to 1.8.5, add openmpi variant

Modified Paths:
--------------
    trunk/dports/science/hdf5-18/Portfile

Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile	2010-06-16 15:30:41 UTC (rev 68870)
+++ trunk/dports/science/hdf5-18/Portfile	2010-06-16 15:42:17 UTC (rev 68871)
@@ -6,8 +6,7 @@
 
 set realname        hdf5
 name                ${realname}-18
-version             1.8.4-patch1
-revision            1
+version             1.8.5
 categories          science
 maintainers         mmoll openmaintainer
 
@@ -18,9 +17,9 @@
 conflicts           hdf5
 master_sites        ftp://ftp.hdfgroup.org/HDF5/current/src/ \
                     ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/
-checksums           md5     b19f4dfbf654a2af3653c492fc1c7513 \
-                    sha1    99736095cd1b8c041b51e67e5c23b64de6331f5a \
-                    rmd160  6864e86d960929b9dba2629ab9c1d3364094dd41
+checksums           md5     a400fe6c1c5964a7224dc684225d415c \
+                    sha1    bea643922e35ebdc1697188b7b51a3f76be58f88 \
+                    rmd160  0a5d4644c4cf5de86f1603d9f085ecd50f8385b4
 distname            ${realname}-${version}
 use_bzip2           yes
 patchfiles          patch-configure.diff
@@ -29,7 +28,8 @@
 
 configure.args      --with-zlib=yes --with-szlib=yes --enable-filters=all \
                     --enable-production --disable-fortran \
-                    --enable-cxx --enable-shared --enable-static
+                    --enable-cxx --enable-shared --enable-static \
+                    --disable-parallel
 
 post-configure {
     if {[variant_isset universal]} {
@@ -51,11 +51,19 @@
 test.run            yes
 test.target         check
 
-variant threadsafe description {Enable threadsafety (experimental and un-supported, disables cxx support)} {
+variant threadsafe description {Enable threadsafety (experimental and un-supported, disables cxx support)} conflicts openmpi {
     configure.args-delete       --disable-threadsafe --enable-cxx
     configure.args-append       --enable-threadsafe --disable-cxx
 }
 
+# openmpi conflicts with universal because there is no universal variant for
+# the openmpi port at the moment
+variant openmpi description {Enable Parallel HDF5} conflicts threadsafe universal {
+    depends_lib                 port:openmpi
+    configure.args-delete       --disable-parallel --enable-cxx
+    configure.args-append       --enable-parallel --disable-cxx
+}
+
 livecheck.type      regex
 livecheck.url       http://www.hdfgroup.org/HDF5/release/obtain5.html
 livecheck.regex     5-(\[0-9.\]+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100616/b9071862/attachment.html>


More information about the macports-changes mailing list