summaryrefslogtreecommitdiff
path: root/net/tcpreplay
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2013-11-19 03:07:49 +0000
committerminskim <minskim@pkgsrc.org>2013-11-19 03:07:49 +0000
commit73c5e9000d61514357e42ff1f47a21135e5e8417 (patch)
tree0cde48727399ba3c897353f654ae18ee5c298531 /net/tcpreplay
parent3db0da02f95f69ee2057055fda914fb1e4568026 (diff)
downloadpkgsrc-73c5e9000d61514357e42ff1f47a21135e5e8417.tar.gz
Make tcpreplay build on Darwin
Diffstat (limited to 'net/tcpreplay')
-rw-r--r--net/tcpreplay/distinfo4
-rw-r--r--net/tcpreplay/patches/patch-ab21
2 files changed, 19 insertions, 6 deletions
diff --git a/net/tcpreplay/distinfo b/net/tcpreplay/distinfo
index a9a14a9afb6..1466434c4b1 100644
--- a/net/tcpreplay/distinfo
+++ b/net/tcpreplay/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.10 2013/10/31 02:25:16 minskim Exp $
+$NetBSD: distinfo,v 1.11 2013/11/19 03:07:49 minskim Exp $
SHA1 (tcpreplay-3.4.4.tar.gz) = 9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8
RMD160 (tcpreplay-3.4.4.tar.gz) = 672812755ff39b284044b08cba32c574ab2b7e70
Size (tcpreplay-3.4.4.tar.gz) = 947179 bytes
SHA1 (patch-aa) = 377cd7e829b00df9aff0aeed4c4136317602334a
-SHA1 (patch-ab) = 78063660f925229cf10df88462128664f080c6c0
+SHA1 (patch-ab) = 54bd9c0a3e07eef3a3e4cfccc87c8351090301c1
SHA1 (patch-lib_Makefile.in) = 9a59f2652c08efb87944e132998a3c0778a5b5a7
SHA1 (patch-src_common_Makefile.in) = 7cd6878eecd94d735e314768a0302298ac415ffc
SHA1 (patch-src_common_cidr.c) = 77694f71876916e9e77a0257ce91bf7bb2f140a2
diff --git a/net/tcpreplay/patches/patch-ab b/net/tcpreplay/patches/patch-ab
index 007ad1933fd..34e73d43015 100644
--- a/net/tcpreplay/patches/patch-ab
+++ b/net/tcpreplay/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.2 2013/10/31 02:25:17 minskim Exp $
+$NetBSD: patch-ab,v 1.3 2013/11/19 03:07:49 minskim Exp $
--- configure.orig 2010-04-05 00:58:26.000000000 +0000
+++ configure
@@ -15,7 +15,20 @@ $NetBSD: patch-ab,v 1.2 2013/10/31 02:25:17 minskim Exp $
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
-@@ -17353,9 +17357,9 @@ for testdir in $trypcapdir /usr/local /o
+@@ -14675,7 +14679,11 @@ darwin* | rhapsody*)
+ soname_spec='${libname}${release}${major}$shared_ext'
+ shlibpath_overrides_runpath=yes
+ shlibpath_var=DYLD_LIBRARY_PATH
+- shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
++ if test .$module = .yes ; then
++ shrext_cmds=".so"
++ else
++ shrext_cmds=".dylib"
++ fi
+
+ sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
+ ;;
+@@ -17353,9 +17361,9 @@ for testdir in $trypcapdir /usr/local /o
LPCAPINC="${testdir}/include/pcap.h"
LPCAPINCDIR="${testdir}/include"
if test $dynamic_link = yes; then
@@ -27,7 +40,7 @@ $NetBSD: patch-ab,v 1.2 2013/10/31 02:25:17 minskim Exp $
LPCAPLIB="-L${testdir}/lib -lpcap"
else
as_fn_error "Unable to find libpcap in ${testdir}" "$LINENO" 5
-@@ -18172,7 +18176,7 @@ libdnet_version=
+@@ -18172,7 +18180,7 @@ libdnet_version=
enable_fragroute=no
trydnetdir=/usr/local
@@ -36,7 +49,7 @@ $NetBSD: patch-ab,v 1.2 2013/10/31 02:25:17 minskim Exp $
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libdnet" >&5
$as_echo_n "checking for libdnet... " >&6; }
-@@ -18751,7 +18755,7 @@ esac
+@@ -18751,7 +18759,7 @@ esac
fi