diff options
Diffstat (limited to 'net/tcpreplay/patches/patch-aa')
-rw-r--r-- | net/tcpreplay/patches/patch-aa | 25 |
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 |