[147826] trunk/dports/math/octave-devel/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sat Apr 16 17:58:53 PDT 2016


Revision: 147826
          https://trac.macports.org/changeset/147826
Author:   mcalhoun at macports.org
Date:     2016-04-16 17:58:53 -0700 (Sat, 16 Apr 2016)
Log Message:
-----------
octave-devel: build with hdf5-18 instead of hdf5 (fixes #51080)
no revbump since port builds correctly or not at all

Modified Paths:
--------------
    trunk/dports/math/octave-devel/Portfile

Modified: trunk/dports/math/octave-devel/Portfile
===================================================================
--- trunk/dports/math/octave-devel/Portfile	2016-04-17 00:03:20 UTC (rev 147825)
+++ trunk/dports/math/octave-devel/Portfile	2016-04-17 00:58:53 UTC (rev 147826)
@@ -306,7 +306,15 @@
 depends_lib-append  port:zlib
 
 #--without-hdf5
-depends_lib-append  port:hdf5
+if { ${name} eq ${subport} } {
+    # see #51080
+    depends_lib-append  port:hdf5-18
+    configure.args-append \
+        --with-hdf5-libdir=${prefix}/lib/hdf5-18 \
+        --with-hdf5-includedir=${prefix}/include/hdf5-18
+} else {
+    depends_lib-append  port:hdf5
+}
 
 #--disable-fftw-threads
 #--without-fftw3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160416/76399211/attachment.html>


More information about the macports-changes mailing list