mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
eb81a88093
coexist PR: ports/103861 Submitted by: alepulver Tested by: pointyhat With hat: portmgr
58 lines
1.9 KiB
Plaintext
58 lines
1.9 KiB
Plaintext
--- ./configure.orig Wed Sep 27 18:27:36 2006
|
|
+++ ./configure Wed Sep 27 19:04:20 2006
|
|
@@ -2337,52 +2337,8 @@
|
|
#
|
|
|
|
filechk="yes"
|
|
-echo "$as_me:$LINENO: checking for /usr/lib/libnet.a" >&5
|
|
-echo $ECHO_N "checking for /usr/lib/libnet.a... $ECHO_C" >&6
|
|
-if test "${ac_cv_file__usr_lib_libnet_a+set}" = set; then
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
-else
|
|
- test "$cross_compiling" = yes &&
|
|
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-if test -r "/usr/lib/libnet.a"; then
|
|
- ac_cv_file__usr_lib_libnet_a=yes
|
|
-else
|
|
- ac_cv_file__usr_lib_libnet_a=no
|
|
-fi
|
|
-fi
|
|
-echo "$as_me:$LINENO: result: $ac_cv_file__usr_lib_libnet_a" >&5
|
|
-echo "${ECHO_T}$ac_cv_file__usr_lib_libnet_a" >&6
|
|
-if test $ac_cv_file__usr_lib_libnet_a = yes; then
|
|
- :
|
|
-else
|
|
- filechk="no"
|
|
-fi
|
|
-
|
|
-if test "$filechk" = "no"; then
|
|
- echo "$as_me:$LINENO: checking for /usr/local/lib/libnet.a" >&5
|
|
-echo $ECHO_N "checking for /usr/local/lib/libnet.a... $ECHO_C" >&6
|
|
-if test "${ac_cv_file__usr_local_lib_libnet_a+set}" = set; then
|
|
- echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
-else
|
|
- test "$cross_compiling" = yes &&
|
|
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
|
|
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
|
|
- { (exit 1); exit 1; }; }
|
|
-if test -r "/usr/local/lib/libnet.a"; then
|
|
- ac_cv_file__usr_local_lib_libnet_a=yes
|
|
-else
|
|
- ac_cv_file__usr_local_lib_libnet_a=no
|
|
-fi
|
|
-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"
|
|
-fi
|
|
-
|
|
-fi
|
|
+CPPFLAGS="`libnet-config --cflags`"
|
|
+LDFLAGS="`libnet-config --libs`"
|
|
|
|
if test "$filechk" = "no"; then { { echo "$as_me:$LINENO: error:
|
|
|