Modified: trunk/dports/science/swarm/Portfile (116777 => 116778)
--- 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