[147801] trunk/dports/science/hdfeos5
takeshi at macports.org
takeshi at macports.org
Fri Apr 15 23:56:27 PDT 2016
Revision: 147801
https://trac.macports.org/changeset/147801
Author: takeshi at macports.org
Date: 2016-04-15 23:56:27 -0700 (Fri, 15 Apr 2016)
Log Message:
-----------
hdfeos: depend on hdf5-18
Modified Paths:
--------------
trunk/dports/science/hdfeos5/Portfile
Removed Paths:
-------------
trunk/dports/science/hdfeos5/files/
Modified: trunk/dports/science/hdfeos5/Portfile
===================================================================
--- trunk/dports/science/hdfeos5/Portfile 2016-04-16 06:19:31 UTC (rev 147800)
+++ trunk/dports/science/hdfeos5/Portfile 2016-04-16 06:56:27 UTC (rev 147801)
@@ -7,7 +7,7 @@
name hdfeos5
version 1.15
-revision 10
+revision 11
categories science
platforms darwin
license public-domain
@@ -30,26 +30,25 @@
compilers.choose cc cxx
mpi.setup -clang -dragonegg -llvm
-mpi.enforce_variant hdf5
+mpi.enforce_variant hdf5-18
depends_build port:libtool
-depends_lib port:hdf5
+depends_lib port:hdf5-18
worksrcdir ${name}
extract.suffix .tar.Z
fetch.use_epsv no
-patchfiles patch-src-GDapi.c.diff \
- patch-src-PTapi.c.diff \
- patch-src-SWapi.c.diff \
- patch-src-ZAapi.c.diff
+#patchfiles patch-src-GDapi.c.diff \
+# patch-src-PTapi.c.diff \
+# patch-src-SWapi.c.diff \
+# patch-src-ZAapi.c.diff
-mpi.enforce_variant hdf5
if {[mpi_variant_isset]} {
- set h5cc h5pcc
+ set h5cc h5pcc-18
} else {
- set h5cc h5cc
+ set h5cc h5cc-18
}
-if {![catch {set result [active_variants port:hdf5 szip]}]} {
+if {![catch {set result [active_variants port:hdf5-18 szip]}]} {
if {$result} {
default_variants-append +szip
}
@@ -59,7 +58,6 @@
configure.ld_archflags ""
configure.args --prefix=${prefix}/lib/${name} \
--enable-shared \
- --with-hdf5=${prefix} \
--with-zlib=${prefix} \
--disable-dependency-tracking
@@ -73,7 +71,7 @@
}
variant szip description {enables szip support} {
- require_active_variants hdf5 szip
+ require_active_variants hdf5-18 szip
depends_lib-append port:szip
configure.args-append --with-szlib=${prefix} \
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160415/1072fe3b/attachment.html>
More information about the macports-changes
mailing list