aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2005-10-30 16:35:38 +0800
committeroliver <oliver@FreeBSD.org>2005-10-30 16:35:38 +0800
commitceb7f049ccdef8aae8e393d91d37a4ab27a7f038 (patch)
tree7cf97b0ba9bcb14adcba738dfa860df0594241be /mail
parent0cb7eb6e17cbc644eeeb6877b58e226b0e6a67d3 (diff)
downloadfreebsd-ports-gnome-ceb7f049ccdef8aae8e393d91d37a4ab27a7f038.tar.gz
freebsd-ports-gnome-ceb7f049ccdef8aae8e393d91d37a4ab27a7f038.tar.zst
freebsd-ports-gnome-ceb7f049ccdef8aae8e393d91d37a4ab27a7f038.zip
disable FAM when WITHOUT_FAM is set - even when fam is installed (requires
some configure changes since there is no --without-fam option) PR: 88205
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-imap/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 582ddf6f1988..9760f27249c4 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -114,7 +114,7 @@ CONFIGURE_ARGS+=--with-trashquota
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
-.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
+.if defined(WITH_FAM)
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
@@ -133,6 +133,10 @@ EXTRA_DOCS= AUTHORS INSTALL NEWS imap/ChangeLog imap/README \
maildir/README.sharedfolders.txt tcpd/README.couriertls \
post-patch:
+.if defined(WITHOUT_FAM)
+ @${REINPLACE_CMD} -e 's|$$LIBFAM||g' \
+ ${WRKSRC}/maildir/configure
+.endif
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
${WRKSRC}/liblock/configure
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \