[116778] trunk/dports/science/swarm/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Feb 6 19:48:34 PST 2014


Revision: 116778
          https://trac.macports.org/changeset/116778
Author:   ryandesign at macports.org
Date:     2014-02-06 19:48:34 -0800 (Thu, 06 Feb 2014)
Log Message:
-----------
swarm: fix build failure by using MacPorts GNU sed; increase revision to rebuild and ensure that MacPorts grep is not referenced by libtool-swarm

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

Modified: trunk/dports/science/swarm/Portfile
===================================================================
--- trunk/dports/science/swarm/Portfile	2014-02-07 02:20:20 UTC (rev 116777)
+++ trunk/dports/science/swarm/Portfile	2014-02-07 03:48:34 UTC (rev 116778)
@@ -5,7 +5,7 @@
 
 name                swarm
 version             2.4.1
-revision            6
+revision            7
 categories          science
 maintainers         nomaintainer
 license             GPL-2
@@ -28,6 +28,10 @@
                     port:libpng \
                     port:hdf5-18
 
+# src/defobj/make-h2x needs GNU sed; causes build failure if only BSD sed is
+# available. The path to gsed is baked into ${prefix}/bin/libtool-swarm.
+depends_lib-append  port:gsed
+
 universal_variant   no
 
 patchfiles          patch-libpng-1.5.diff
@@ -51,6 +55,10 @@
                     --with-tcl=${prefix}/lib \
                     --with-tk=${prefix}/lib
 
+# Ensure MacPorts grep is not used, even if it is already installed, because
+# its path would be baked into ${prefix}/bin/libtool-swarm.
+configure.args-append ac_cv_path_GREP=/usr/bin/grep
+
 # Fix build with Tcl 8.6+
 configure.cppflags-append -DUSE_INTERP_RESULT
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140206/41407910/attachment.html>


More information about the macports-changes mailing list