[142935] trunk/dports/science/hdf5/Portfile
mmoll at macports.org
mmoll at macports.org
Sat Dec 12 07:51:36 PST 2015
Revision: 142935
https://trac.macports.org/changeset/142935
Author: mmoll at macports.org
Date: 2015-11-28 12:57:01 -0800 (Sat, 28 Nov 2015)
Log Message:
-----------
science/hdf5: add hl variant, closes #49810
Modified Paths:
--------------
trunk/dports/science/hdf5/Portfile
Modified: trunk/dports/science/hdf5/Portfile
===================================================================
--- trunk/dports/science/hdf5/Portfile 2015-11-28 18:06:52 UTC (rev 142934)
+++ trunk/dports/science/hdf5/Portfile 2015-11-28 20:57:01 UTC (rev 142935)
@@ -8,7 +8,7 @@
name hdf5
version 1.8.16
-revision 0
+revision 1
categories science
maintainers mmoll openmaintainer
@@ -50,14 +50,14 @@
# Use lib/hdf5 rather than hdf5/lib plugin directory
configure.args --with-zlib=yes \
--enable-production --disable-fortran \
- --disable-cxx --enable-shared --enable-static \
+ --disable-cxx --disable-hl --enable-shared --enable-static \
--disable-parallel --disable-threadsafe \
--with-default-plugindir=${prefix}/lib/hdf5
# http://mail.hdfgroup.org/pipermail/hdf-forum_hdfgroup.org/2010-March/002682.html
license NCSA
-default_variants +cxx
+default_variants +cxx +hl
post-configure {
if {[variant_isset universal]} {
@@ -101,6 +101,14 @@
license Noncommercial
}
+variant hl description {
+ Enable High Level interface.
+ +hl is EXPERIMENTAL with +threadsafe
+} {
+ configure.args-delete --disable-hl
+ configure.args-append --enable-hl
+}
+
variant cxx description {
Enable c++ interfance.
+cxx is EXPERIMENTAL with +threadsafe or any mpi variant
@@ -135,10 +143,11 @@
+threadsafe is EXPERIMENTAL with +cxx, +fortran, or any mpi variant
} {
configure.args-delete --disable-threadsafe
- configure.args-append --enable-threadsafe --with-pthread --disable-hl
+ configure.args-append --enable-threadsafe --with-pthread
}
if {[ variant_isset threadsafe ] && ([ variant_isset cxx ] ||
+ [ variant_isset hl ] ||
[ variant_isset fortran ]) ||
([ mpi_variant_isset ]) &&
([ variant_isset cxx ] || [ variant_isset threadsafe ]) } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/6177533b/attachment.html>
More information about the macports-changes
mailing list