[78052] trunk/dports/science/hdf4/Portfile
takeshi at macports.org
takeshi at macports.org
Thu Apr 21 00:28:24 PDT 2011
Revision: 78052
http://trac.macports.org/changeset/78052
Author: takeshi at macports.org
Date: 2011-04-21 00:28:24 -0700 (Thu, 21 Apr 2011)
Log Message:
-----------
hdf4: build share libraries when one of fortran variant is not specified
Modified Paths:
--------------
trunk/dports/science/hdf4/Portfile
Modified: trunk/dports/science/hdf4/Portfile
===================================================================
--- trunk/dports/science/hdf4/Portfile 2011-04-21 05:19:29 UTC (rev 78051)
+++ trunk/dports/science/hdf4/Portfile 2011-04-21 07:28:24 UTC (rev 78052)
@@ -5,7 +5,7 @@
name hdf4
version 4.2.5
-revision 1
+revision 2
platforms darwin
categories science
maintainers takeshi
@@ -24,7 +24,7 @@
depends_lib port:zlib port:szip port:jpeg6b
configure.args --with-szlib=${prefix} --disable-netcdf --disable-fortran \
- --with-jpeg=${prefix}/lib/jpeg6b
+ --with-jpeg=${prefix}/lib/jpeg6b --enable-shared
configure.cppflags-delete -I${prefix}/include
configure.ldflags-delete -L${prefix}/lib
@@ -44,24 +44,30 @@
}
}
-variant g95 conflicts gcc43 gcc44 universal description {build with g95} {
- configure.args-delete --disable-fortran
+variant g95 conflicts gcc43 gcc44 gcc45 universal description {build with g95} {
+ configure.args-delete --disable-fortran --enable-shared
depends_build-append port:g95
configure.f77 ${prefix}/bin/g95
}
-variant gcc43 conflicts g95 gcc44 universal description {build with gfortran 4.3} {
- configure.args-delete --disable-fortran
+variant gcc43 conflicts g95 gcc44 gcc45 universal description {build with gfortran 4.3} {
+ configure.args-delete --disable-fortran --enable-shared
depends_build-append port:gcc43
configure.f77 ${prefix}/bin/gfortran-mp-4.3
}
-variant gcc44 conflicts g95 gcc43 universal description {build with gfortran 4.4} {
- configure.args-delete --disable-fortran
+variant gcc44 conflicts g95 gcc43 gcc45 universal description {build with gfortran 4.4} {
+ configure.args-delete --disable-fortran --enable-shared
depends_build-append port:gcc44
configure.f77 ${prefix}/bin/gfortran-mp-4.4
}
+variant gcc45 conflicts g95 gcc43 gcc44 universal description {build with gfortran 4.4} {
+ configure.args-delete --disable-fortran --enable-shared
+ depends_build-append port:gcc45
+ configure.f77 ${prefix}/bin/gfortran-mp-4.5
+}
+
livecheck.type 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/20110421/2b972771/attachment.html>
More information about the macports-changes
mailing list