mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
ports expect it. The files were put in a different location to avoid a conflict with net/libnet10 but this port has been removed a while ago now. PR: 208122 Exp-run by: antoine Approved by: portmgr (antoine)
49 lines
1.8 KiB
Text
49 lines
1.8 KiB
Text
--- configure.orig 2004-01-20 18:54:58 UTC
|
|
+++ configure
|
|
@@ -2379,7 +2379,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_libnet_a" >&5
|
|
echo "${ECHO_T}$ac_cv_file__usr_local_lib_libnet_a" >&6
|
|
if test $ac_cv_file__usr_local_lib_libnet_a = yes; then
|
|
- filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include"
|
|
+ filechk="yes" ; LIBS="$LIBS -L/usr/local/lib"; CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
|
fi
|
|
|
|
fi
|
|
@@ -2530,7 +2530,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_libpcap_a" >&5
|
|
echo "${ECHO_T}$ac_cv_file__usr_local_lib_libpcap_a" >&6
|
|
if test $ac_cv_file__usr_local_lib_libpcap_a = yes; then
|
|
- filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include"
|
|
+ filechk="yes" ; LIBS="$LIBS -L/usr/local/lib"; CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
|
fi
|
|
|
|
fi
|
|
@@ -2680,7 +2680,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_libncurses_a" >&5
|
|
echo "${ECHO_T}$ac_cv_file__usr_local_lib_libncurses_a" >&6
|
|
if test $ac_cv_file__usr_local_lib_libncurses_a = yes; then
|
|
- filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include"
|
|
+ filechk="yes" ; LIBS="$LIBS -L/usr/local/lib"; CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
|
fi
|
|
|
|
fi
|
|
@@ -2840,7 +2840,7 @@ fi
|
|
echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_lib_libmenu_a" >&5
|
|
echo "${ECHO_T}$ac_cv_file__usr_local_lib_libmenu_a" >&6
|
|
if test $ac_cv_file__usr_local_lib_libmenu_a = yes; then
|
|
- filechk="yes" ; LDFLAGS="-L/usr/local/lib"; CPPFLAGS="-I/usr/local/include"
|
|
+ filechk="yes" ; LIBS="$LIBS -L/usr/local/lib"; CPPFLAGS="$CPPFLAGS -I/usr/local/include"
|
|
fi
|
|
|
|
fi
|
|
@@ -3045,8 +3045,8 @@ fi
|
|
|
|
CFLAGS="-Wall -O2"
|
|
;;
|
|
-*bsd*)
|
|
- CFLAGS="-Wall -O2 -pthread"
|
|
+*bsd*|*dragonfly*)
|
|
+ CFLAGS="${CFLAGS} -Wall -lpthread"
|
|
;;
|
|
esac
|
|
|