1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Fix build with LDAP library.

If configure finds LDAP library, it tries to link with -lresolv, too.
Remove -lresolv to unbreak.

Reported by:	Guy Middleton <guy@crtsol.com>
This commit is contained in:
Jun Kuriyama 2002-08-29 01:31:33 +00:00
parent 1fe61b3507
commit 297bafcc08
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=65201
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Apr 29 23:59:16 2002
+++ configure Thu Aug 29 10:23:41 2002
@@ -3799,7 +3799,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lldap -llber -lresolv $LIBS"
+LIBS="-lldap -llber $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 3804 "configure"
#include "confdefs.h"

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Apr 29 23:59:16 2002
+++ configure Thu Aug 29 10:23:41 2002
@@ -3799,7 +3799,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lldap -llber -lresolv $LIBS"
+LIBS="-lldap -llber $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line 3804 "configure"
#include "confdefs.h"