Ticket #22467: Portfile.diff
File Portfile.diff, 2.0 KB (added by numaryu, 15 years ago) |
---|
-
Portfile
old new 5 5 6 6 name hdf5 7 7 version 1.6.9 8 revision 08 revision 1 9 9 categories science 10 10 maintainers openmaintainer jochen 11 11 … … 32 32 use_parallel_build yes 33 33 configure.ccache no 34 34 35 configure.args --enable-cxx --with-zlib=yes --with-szlib=no 36 configure.ldflags -L${worksrcpath}/src/.libs -L${prefix}/lib 35 configure.args --enable-cxx --with-zlib=yes --with-szlib=no \ 36 --enable-shared 37 configure.ldflags -L${prefix}/lib 37 38 38 39 destroot.destdir prefix=${destroot}${prefix} 39 40 … … 65 66 } 66 67 67 68 68 variant gcc42 conflicts g95 gcc43 description {Compile using GCC 4.2} {69 variant gcc42 requires fortran conflicts g95 gcc43 description {Compile using GCC 4.2} { 69 70 depends_lib-append port:gcc42 70 71 configure.compiler macports-gcc-4.2 71 72 } 72 73 73 variant gcc43 conflicts g95 gcc42 description {Compile using GCC 4.3} {74 variant gcc43 requires fortran conflicts g95 gcc42 description {Compile using GCC 4.3} { 74 75 depends_lib-append port:gcc43 75 76 configure.compiler macports-gcc-4.3 76 configure.env-append LD=${prefix}/bin/g++-mp-4.377 77 } 78 78 79 79 variant g95 requires fortran conflicts gcc42 gcc43 description {Use g95 Fortran compiler (unsupported)} { … … 95 95 configure.fflags-append -march=native 96 96 } 97 97 } 98 99 variant mpich2 description {Parallel HDF5 with mpich2} { 100 depends_lib-append port:mpich2 101 configure.args-delete --enable-cxx 102 configure.cc ${prefix}/bin/mpicc 103 if { [variant_isset fortran] } { 104 configure.fc ${prefix}/bin/mpif90 105 } 106 } 107 108 #variant openmpi description {Parallel HDF5 with openmpi} { 109 # depends_lib-append port:openmpi 110 # configure.args-delete --enable-cxx 111 # configure.cc ${prefix}/bin/openmpicc 112 # if { [variant_isset fortran] } { 113 # configure.fc ${prefix}/bin/openmpif90 114 # } 115 #}