[144403] trunk/dports/science/berkeleygw/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Thu Jan 7 13:47:19 PST 2016


Revision: 144403
          https://trac.macports.org/changeset/144403
Author:   dstrubbe at macports.org
Date:     2016-01-07 13:47:18 -0800 (Thu, 07 Jan 2016)
Log Message:
-----------
berkeleygw: Fix erroneous attempt to link against HDF5.

Modified Paths:
--------------
    trunk/dports/science/berkeleygw/Portfile

Modified: trunk/dports/science/berkeleygw/Portfile
===================================================================
--- trunk/dports/science/berkeleygw/Portfile	2016-01-07 21:42:08 UTC (rev 144402)
+++ trunk/dports/science/berkeleygw/Portfile	2016-01-07 21:47:18 UTC (rev 144403)
@@ -62,6 +62,8 @@
 
 configure {
     system -W ${worksrcpath} "sed 's|/opt/local|${prefix}|' < config/generic.serial.macos.mk > arch.mk"
+    reinplace -W ${worksrcpath} "s|MATHFLAG += -DHDF5||" arch.mk
+    system -W ${worksrcpath} "echo 'HDF5LIB=' >> arch.mk"
 }
 
 build.target	    all-flavors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160107/6b4c04b5/attachment.html>


More information about the macports-changes mailing list