Revision: 94770 https://trac.macports.org/changeset/94770 Author: takeshi@macports.org Date: 2012-06-29 07:16:56 -0700 (Fri, 29 Jun 2012) Log Message: ----------- hdfeos: introduced szip due to removal of szip in hdf4 (#34458, r93676), closing #35011 Revision Links: -------------- https://trac.macports.org/changeset/93676 Modified Paths: -------------- trunk/dports/science/hdfeos/Portfile Modified: trunk/dports/science/hdfeos/Portfile =================================================================== --- trunk/dports/science/hdfeos/Portfile 2012-06-29 13:27:47 UTC (rev 94769) +++ trunk/dports/science/hdfeos/Portfile 2012-06-29 14:16:56 UTC (rev 94770) @@ -5,7 +5,7 @@ name hdfeos version 2.17v1.00 -revision 3 +revision 4 categories science maintainers takeshi description HDF-EOS library built on HDF4 @@ -26,7 +26,7 @@ rmd160 15d9c8d9d01768205c8bc42f652548d7b84f0018 configure.args --with-hdf4=${prefix} \ --with-zlib=${prefix} \ - --with-szlib=${prefix} \ + --without-szlib \ --disable-dependency-tracking configure.cc ${prefix}/bin/h4cc configure.ccache no @@ -35,3 +35,9 @@ eval xinstall -m 644 [glob ${worksrcpath}/include/*.h] \ ${destroot}${prefix}/include } + +variant szip description {build with szip} { + depends_lib-append port:szip + configure.args-delete --without-szlib + configure.args-append --with-szlib=${prefix} +}