SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
--- 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