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

mmoll at macports.org mmoll at macports.org
Sat Sep 24 17:40:16 PDT 2011


Revision: 84384
          http://trac.macports.org/changeset/84384
Author:   mmoll at macports.org
Date:     2011-09-24 17:40:11 -0700 (Sat, 24 Sep 2011)
Log Message:
-----------
science/hdf5-18: put szip support in variant due to licensing issues, closes #31382

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

Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile	2011-09-24 22:59:24 UTC (rev 84383)
+++ trunk/dports/science/hdf5-18/Portfile	2011-09-25 00:40:11 UTC (rev 84384)
@@ -24,14 +24,17 @@
                     rmd160  34641bf8e664c3b3382d1346a65e2f5c3eb485ee
 distname            ${realname}-${version}
 use_bzip2           yes
-depends_lib         port:zlib port:szip
+depends_lib         port:zlib
 use_parallel_build  yes
 
-configure.args      --with-zlib=yes --with-szlib=yes --enable-filters=all \
+configure.args      --with-zlib=yes --enable-filters=all \
                     --enable-production --disable-fortran \
                     --enable-cxx --enable-shared --enable-static \
                     --disable-parallel
 
+# http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2010-March/002682.html
+license             {NCSA} 
+
 post-configure {
     if {[variant_isset universal]} {
         set dirs {}
@@ -53,6 +56,13 @@
 test.run            yes
 test.target         check
 
+variant szip description {Enable szip support. (Noncommercial license)} {
+    depends_lib-append          port:szip
+    configure.args-append       --with-szlib=yes
+    license                     {Noncommercial}
+}
+
+
 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110924/d17dd54c/attachment-0001.html>


More information about the macports-changes mailing list