Modified: trunk/dports/net/netstrain/Portfile (87383 => 87384)
--- trunk/dports/net/netstrain/Portfile 2011-11-19 05:27:12 UTC (rev 87383)
+++ trunk/dports/net/netstrain/Portfile 2011-11-19 05:35:37 UTC (rev 87384)
@@ -12,9 +12,17 @@
categories net
platforms darwin
homepage http://netstrain.sourceforge.net/
-master_sites sourceforge
+master_sites sourceforge:project/netstrain/netstrain/${version}
checksums md5 ce04b79ae18c5143991ace8661baadcf
+
+patchfiles patch-net6emuconf.diff
+
use_configure no
+
+variant universal {}
+
+build.args CC="${configure.cc} [get_canonical_archflags]"
+
destroot {
file copy ${worksrcpath}/netstrain ${destroot}${prefix}/bin
file copy ${worksrcpath}/netstraind ${destroot}${prefix}/bin
Added: trunk/dports/net/netstrain/files/patch-net6emuconf.diff (0 => 87384)
--- trunk/dports/net/netstrain/files/patch-net6emuconf.diff (rev 0)
+++ trunk/dports/net/netstrain/files/patch-net6emuconf.diff 2011-11-19 05:35:37 UTC (rev 87384)
@@ -0,0 +1,17 @@
+--- net6emuconf.orig 2002-08-10 04:40:28.000000000 -0500
++++ net6emuconf 2011-11-18 23:32:24.000000000 -0600
+@@ -101,14 +101,6 @@
+
+
+
+-if [ `uname` = "Darwin" ]; then
+- case `uname -r` in [012345]*) # up to Mac OS X 10.1.x / Darwin 5.x
+- test_getaddrinfo=0 # getaddrinfo() is somewhat broken
+- echo "Skipping check for getaddrinfo() because it is known to be buggy on this"
+- echo "system (Mac OS X up to 10.1.x alias Darwin up to 5.x). It will be emulated."
+- ;;
+- esac
+-fi
+
+ if [ $test_getaddrinfo -eq 1 ]; then
+ echo "Checking getaddrinfo()..."