ports/net/samba/files/patch-ba
David W. Chapman Jr. 4987409051 Fix LDAP linking
Noticed by:	sroberts@dsl.pipex.com
2002-06-18 00:32:57 +00:00

20 lines
633 B
Text

--- source/configure.in.orig Sat Jun 8 07:55:55 2002
+++ source/configure.in Mon Jun 17 18:15:30 2002
@@ -1897,7 +1897,7 @@
yes)
AC_MSG_RESULT(yes)
AC_DEFINE(KRB5_AUTH)
- LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
+ LIBS="$LIBS -ldes425 -lkrb5 -lk5crypto -lcom_err"
CFLAGS="$CFLAGS -I$withval/include"
LDFLAGS="$LDFLAGS -L$withval/lib"
;;
@@ -2073,7 +2073,7 @@
AC_DEFINE(WITH_LDAP_SAM)
LIBS="-lldap $LIBS"
AC_CHECK_LIB(lber, ber_bvfree, [LIBS="$LIBS -llber"])
- LIBS="-lresolv $LIBS"
+ LIBS="$LIBS"
AC_CHECK_FUNCS(ldap_start_tls_s)
with_smbpasswd_sam=no
;;