mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
4d326521e1
PR: 155455 Submitted by: Benjamin Kaduk <kaduk-fbsd@MIT.EDU> (maintainer)
54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
--- ./configure.orig 2010-11-06 19:01:04.000000000 -0400
|
|
+++ ./configure 2011-02-21 14:30:09.000000000 -0500
|
|
@@ -20412,13 +20412,13 @@
|
|
|
|
LIBZEPHYR_LIBS="$LIBZEPHYR_LIBS $KRB5_LIBS"
|
|
# the zephyr library needs -lresolv if it's built with krb5
|
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lresolv" >&5
|
|
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_send in -lc" >&5
|
|
$as_echo_n "checking for res_send in -lresolv... " >&6; }
|
|
if test "${ac_cv_lib_resolv_res_send+set}" = set; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lresolv $LIBS"
|
|
+LIBS="-lc $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -20449,7 +20449,7 @@
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_send" >&5
|
|
$as_echo "$ac_cv_lib_resolv_res_send" >&6; }
|
|
if test "x$ac_cv_lib_resolv_res_send" = x""yes; then :
|
|
- LIBZEPHYR_LIBS="-lresolv $LIBZEPHYR_LIBS"
|
|
+ LIBZEPHYR_LIBS="$LIBZEPHYR_LIBS"
|
|
else
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __res_send in -lresolv" >&5
|
|
$as_echo_n "checking for __res_send in -lresolv... " >&6; }
|
|
@@ -20567,13 +20567,13 @@
|
|
CPPFLAGS="$CPPFLAGS -I$hesiod/include"
|
|
LDFLAGS="$LDFLAGS -L$hesiod/lib"
|
|
fi
|
|
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_resolve in -lhesiod" >&5
|
|
-$as_echo_n "checking for hes_resolve in -lhesiod... " >&6; }
|
|
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for hes_resolve in -lc" >&5
|
|
+$as_echo_n "checking for hes_resolve in -lc... " >&6; }
|
|
if test "${ac_cv_lib_hesiod_hes_resolve+set}" = set; then :
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-lhesiod $LIBS $LIBS"
|
|
+LIBS="-lc $LIBS $LIBS"
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
/* end confdefs.h. */
|
|
|
|
@@ -20609,7 +20609,7 @@
|
|
as_fn_error $? "Hesiod library not found" "$LINENO" 5
|
|
fi
|
|
|
|
- HESIOD_LIBS="-lhesiod"
|
|
+ HESIOD_LIBS="-lc"
|
|
$as_echo "#define HAVE_HESIOD 1" >>confdefs.h
|
|
|
|
fi
|