summaryrefslogtreecommitdiff
path: root/net/tcpreplay/patches
diff options
context:
space:
mode:
authoradrianp <adrianp>2007-02-18 18:49:03 +0000
committeradrianp <adrianp>2007-02-18 18:49:03 +0000
commita652a060442e536bd0091bfb9b403523c08b7b8a (patch)
treeac0acca89528302d815648e146e5ede098822ab7 /net/tcpreplay/patches
parent3d31faafc9f190204bb0c1602691e4056524928c (diff)
downloadpkgsrc-a652a060442e536bd0091bfb9b403523c08b7b8a.tar.gz
buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
Diffstat (limited to 'net/tcpreplay/patches')
-rw-r--r--net/tcpreplay/patches/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/net/tcpreplay/patches/patch-aa b/net/tcpreplay/patches/patch-aa
new file mode 100644
index 00000000000..09760717d6e
--- /dev/null
+++ b/net/tcpreplay/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2007/02/18 18:51:55 adrianp Exp $
+
+--- configure.orig 2007-02-18 17:30:43.000000000 +0000
++++ configure
+@@ -6974,14 +6974,12 @@ if test "${with_libnet+set}" = set; then
+ trynetdir=$withval
+ fi;
+
+-for testdir in $trynetdir /usr/local /usr ; do
+- if test -f "${testdir}/include/libnet.h" -a $foundnet = no ; then
+- LNETINC="-I${testdir}/include"
+- LNETINCDIR="$testdir/include"
+- LNETLIB="-L${testdir}/lib -lnet"
+- foundnet=$testdir
+- fi
+-done
++if test -f "@@LN_INC@@/libnet.h" -a $foundnet = no ; then
++ LNETINC="-I@@LN_INC@@"
++ LNETINCDIR="@@LN_INC@@"
++ LNETLIB="-L@@LN_LIB@@ -lnet"
++ foundnet=$testdir
++fi
+
+ if test $foundnet = no ; then
+ echo "$as_me:$LINENO: result: no" >&5