summaryrefslogtreecommitdiff
path: root/security/pakemon/patches
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-02-18 18:54:23 +0000
committeradrianp <adrianp@pkgsrc.org>2007-02-18 18:54:23 +0000
commit5e82482f1fdb99365384babf5e259daedf5ed000 (patch)
treea288cb4f084a313d25d2e9502b986a29962bedb8 /security/pakemon/patches
parent446c26a5121d303e7972af0ab818a5af57bd4e2c (diff)
downloadpkgsrc-5e82482f1fdb99365384babf5e259daedf5ed000.tar.gz
buildlink updates and patches to handle the new libnet package structure
bump PKGREVISION
Diffstat (limited to 'security/pakemon/patches')
-rw-r--r--security/pakemon/patches/patch-ac20
1 files changed, 18 insertions, 2 deletions
diff --git a/security/pakemon/patches/patch-ac b/security/pakemon/patches/patch-ac
index efa6213ffd1..08273b0e199 100644
--- a/security/pakemon/patches/patch-ac
+++ b/security/pakemon/patches/patch-ac
@@ -1,7 +1,23 @@
-$NetBSD: patch-ac,v 1.1 2002/10/02 19:12:00 dillo Exp $
+$NetBSD: patch-ac,v 1.2 2007/02/18 18:56:47 adrianp Exp $
---- configure.orig Sun Jan 7 07:06:39 2001
+--- configure.orig 2001-01-07 06:06:39.000000000 +0000
+++ configure
+@@ -1651,11 +1651,11 @@ if test "${with_libnet+set}" = set; then
+ ;;
+ esac
+ else
+- if test -f ${prefix}/include/libnet.h; then
++ if test -f @@LN_INC@@/libnet.h; then
+ CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
+- LNETINC="-I${prefix}/include"
+- LNETLIB="-L${prefix}/lib -lnet"
+- LDFLAGS="$LDFLAGS -L${prefix}/lib"
++ LNETINC="-I@@LN_INC@@"
++ LNETLIB="-L@@LN_LIB@@ -lnet"
++ LDFLAGS="$LDFLAGS -L@@LN_LIB@@"
+ elif test -f /usr/include/libnet.h; then
+ CFLAGS="$CFLAGS `libnet-config --defines`"
+ LNETLIB="-lnet"
@@ -1908,7 +1908,7 @@ EOF
cat >> $CONFIG_STATUS <<EOF