openbsd-ports/net/libnids/patches/patch-configure
2008-07-15 16:11:02 +00:00

19 lines
990 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2008/07/15 16:11:02 brad Exp $
--- configure.orig Mon May 1 13:14:51 2006
+++ configure Tue Jul 8 10:04:48 2008
@@ -4399,11 +4399,11 @@ echo "${ECHO_T}no" >&6
*)
echo "$as_me:$LINENO: result: $withval" >&5
echo "${ECHO_T}$withval" >&6
- if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a -a -f $withval/libnet-config ; then
+ if test -f $withval/include/libnet-1.0/libnet.h -a -f $withval/lib/libnet-1.0/libnet.a -a -f $withval/bin/libnet-config-1.0 ; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi
- LNET_CFLAGS="-I$withval/include `$withval/libnet-config --defines`"
- LNETLIB="-L$withval/lib -lnet"
+ LNET_CFLAGS="-I$withval/include/libnet-1.0 `$withval/bin/libnet-config-1.0 --defines`"
+ LNETLIB="-L$withval/lib/libnet-1.0 -lnet"
elif test -f $withval/include/libnet.h -a -f $withval/src/libnet.a; then
owd=`pwd`
if cd $withval; then withval=`pwd`; cd $owd; fi