freebsd-ports/security/openvas-libraries/files/patch-configure
Tijl Coosemans c9a7702711 security/openvas-*:
- Add USES=libtool
- Eliminate security/openvas-libraries/Makefile.common
- Use /var instead of PREFIX/openvas
- Remove $FreeBSD$ from patches

security/openvas-client:
- Add missing dependencies
- Add NLS option
- Delete old patches
2014-07-06 18:23:03 +00:00

61 lines
1.6 KiB
Text

--- configure.orig
+++ configure
@@ -19078,7 +19078,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lresolv $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -19134,7 +19134,7 @@
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_dn_expand" >&5
echo "${ECHO_T}$ac_cv_lib_resolv_dn_expand" >&6; }
if test $ac_cv_lib_resolv_dn_expand = yes; then
- LIBS="-lresolv $LIBS"
+ LIBS="$LIBS"
else
{ echo "$as_me:$LINENO: checking for __dn_expand in -lresolv" >&5
echo $ECHO_N "checking for __dn_expand in -lresolv... $ECHO_C" >&6; }
@@ -19142,7 +19142,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lresolv $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -19198,7 +19198,7 @@
{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv___dn_expand" >&5
echo "${ECHO_T}$ac_cv_lib_resolv___dn_expand" >&6; }
if test $ac_cv_lib_resolv___dn_expand = yes; then
- LIBS="-lresolv $LIBS"
+ LIBS="$LIBS"
else
{ { echo "$as_me:$LINENO: error: you need to install resolve library with development files" >&5
echo "$as_me: error: you need to install resolve library with development files" >&2;}
@@ -19298,11 +19298,11 @@
#ifdef __cplusplus
extern "C"
#endif
-char pcap_restart ();
+/* char pcap_restart (); */
int
main ()
{
-return pcap_restart ();
+return 0 /* pcap_restart (); */
;
return 0;
}
@@ -23773,7 +23773,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lresolv $LIBS"
+LIBS="$LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF