[31464] trunk/dports/science/hdf5/Portfile

jochen at macports.org jochen at macports.org
Sat Nov 24 12:48:23 PST 2007


Revision: 31464
          http://trac.macosforge.org/projects/macports/changeset/31464
Author:   jochen at macports.org
Date:     2007-11-24 12:48:22 -0800 (Sat, 24 Nov 2007)

Log Message:
-----------
Fix Tickets #12704 and #12705 as suggested in #12705

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

Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile	2007-11-24 20:46:50 UTC (rev 31463)
+++ trunk/dports/science/hdf5/Portfile	2007-11-24 20:48:22 UTC (rev 31464)
@@ -8,6 +8,7 @@
 revision            1
 categories          science
 maintainers         nomaintainer
+
 description         HDF5 general purpose library and file format for storing scientific data
 long_description    ${description}
 homepage            http://www.hdfgroup.org/
@@ -15,12 +16,15 @@
 checksums           md5 6c7fcc91f1579555d88bb10c6c9a33a9 \
                     sha1 c8a9ec598cf0debb694a1d7034fd85bbd67f173b \
                     rmd160 e7cf3f8d6aa5f34ef10cabf650ed43d644e54f1b
+
 depends_lib         port:zlib				
-configure.args      --enable-cxx --with-zlib=${prefix}
-destroot.destdir    prefix=${destroot}${prefix}
 patchfiles	        patch-commence.in patch-c-commence.in
 
+configure.args      --enable-cxx --with-zlib=yes --with-szlib=no
+configure.ldflags   "-L${worksrcpath}/src/.libs -L${prefix}/lib"
+
 variant szip {
-	configure.args-append	--with-szlib=${prefix}
-	depends_lib-append	port:szip
+    configure.args-delete	--with-szlib=no
+	configure.args-append	--with-szlib=yes
+	depends_lib-append	    port:szip
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071124/55419ddb/attachment.html


More information about the macports-changes mailing list