openbsd-ports/mail/courier-imap/patches/patch-maildir_configure

30 lines
824 B
Plaintext

$OpenBSD: patch-maildir_configure,v 1.2 2011/05/09 09:30:26 giovanni Exp $
--- maildir/configure.orig Mon Apr 4 17:04:53 2011
+++ maildir/configure Wed Apr 13 15:58:52 2011
@@ -15904,7 +15904,7 @@ if test "${ac_cv_lib_fam_FAMOpen+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lfam $LIBS"
+LIBS="$LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -15939,7 +15939,7 @@ if test "x$ac_cv_lib_fam_FAMOpen" = x""yes; then :
LIBFAM=-lfam
cat >>confdefs.h <<_ACEOF
-#define HAVE_FAM 1
+#define HAVE_FAM 0
_ACEOF
@@ -15969,7 +15969,6 @@ fi
-echo "$LIBFAM" >maildir.libdeps
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for missing gethostname prototype" >&5
$as_echo_n "checking for missing gethostname prototype... " >&6; }