[55359] trunk/dports/science/hdf4/Portfile

takeshi at macports.org takeshi at macports.org
Sun Aug 9 15:48:27 PDT 2009


Revision: 55359
          http://trac.macports.org/changeset/55359
Author:   takeshi at macports.org
Date:     2009-08-09 15:48:27 -0700 (Sun, 09 Aug 2009)
Log Message:
-----------
hdf4: made to always link szip

Modified Paths:
--------------
    trunk/dports/science/hdf4/Portfile

Modified: trunk/dports/science/hdf4/Portfile
===================================================================
--- trunk/dports/science/hdf4/Portfile	2009-08-09 22:46:09 UTC (rev 55358)
+++ trunk/dports/science/hdf4/Portfile	2009-08-09 22:48:27 UTC (rev 55359)
@@ -5,6 +5,7 @@
 
 name                hdf4
 version             4.2r4
+revision            1
 platforms           darwin
 categories          science
 maintainers         takeshi
@@ -17,11 +18,11 @@
                     sha1   000fa1be9c355c490cceed786feeb269a0d355a7 \
                     rmd160 13274858f1fa0c339fab83b1f9c37314bd10d624
 
-depends_lib         port:zlib port:jpeg
+depends_lib         port:zlib port:jpeg port:szip
 distname            HDF$version
 
 patchfiles          patch-hdfi.h.diff
-configure.args       --with-szlib=no --disable-netcdf --disable-fortran
+configure.args       --with-szlib=yes --disable-netcdf --disable-fortran
 configure.ldflags    "-L${worksrcpath}/src/.libs -L${prefix}/lib"
 
 test.run            yes
@@ -40,12 +41,6 @@
 	}
 }
 
-variant szip description {installs szip} {
-  configure.args-delete	--with-szlib=no
-	configure.args-append	--with-szlib=yes
-	depends_lib-append	    port:szip
-}
-
 variant g95 conflicts gcc43 conflicts universal description {build with g95} {
   configure.args-delete	--disable-fortran
   depends_build-append  port:g95
@@ -61,4 +56,3 @@
 livecheck.check  regex
 livecheck.url    ${homepage}
 livecheck.regex  {The latest Official Release of HDF is ([0-9]+\.[0-9]+r[0-9]+)}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090809/ea99ee28/attachment.html>


More information about the macports-changes mailing list