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

jochen at macports.org jochen at macports.org
Tue Apr 1 14:16:57 PDT 2008


Revision: 35666
          http://trac.macosforge.org/projects/macports/changeset/35666
Author:   jochen at macports.org
Date:     2008-04-01 14:16:56 -0700 (Tue, 01 Apr 2008)

Log Message:
-----------
fix destroot handling

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

Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile	2008-04-01 21:01:05 UTC (rev 35665)
+++ trunk/dports/science/hdf5/Portfile	2008-04-01 21:16:56 UTC (rev 35666)
@@ -19,9 +19,10 @@
 depends_lib         port:zlib				
 patchfiles	        patch-commence.in patch-c-commence.in
 
-configure.args      --enable-cxx --with-zlib=yes --with-szlib=no
+use_parallel_build  yes
+gconfigure.args      --enable-cxx --with-zlib=yes --with-szlib=no 
 configure.ldflags   "-L${worksrcpath}/src/.libs -L${prefix}/lib"
-use_parallel_build  yes
+destroot.destdir    prefix=${destroot}${prefix}
 test.run            yes
 test.target         check
 
@@ -31,8 +32,9 @@
 	depends_lib-append	    port:szip
 }
 
-variant gcc43 description "Use GCC 4.3 for compilation of HDF-5 - optimized for host machine" {
+variant gcc43 description "Use GCC 4.3 for compilation of HDF-5 - optimized for host machine (+ Fotran support)" {
     depends_build-append        port:gcc43
+    configure.args-append       --enable-fortran
     configure.compiler          macports-gcc-4.3
     configure.cflags-append     "-ftree-vectorize -march=native -O3"
     configure.cxxflags-append   "-ftree-vectorize -march=native -O3"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080401/46db34c1/attachment.html


More information about the macports-changes mailing list