diff options
author | oliver <oliver@FreeBSD.org> | 2005-10-30 08:35:38 +0000 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-10-30 08:35:38 +0000 |
commit | ceb7f049ccdef8aae8e393d91d37a4ab27a7f038 (patch) | |
tree | 7cf97b0ba9bcb14adcba738dfa860df0594241be /mail/courier-imap | |
parent | 0cb7eb6e17cbc644eeeb6877b58e226b0e6a67d3 (diff) | |
download | FreeBSD-ports-ceb7f049ccdef8aae8e393d91d37a4ab27a7f038.zip FreeBSD-ports-ceb7f049ccdef8aae8e393d91d37a4ab27a7f038.tar.gz |
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/courier-imap')
-rw-r--r-- | mail/courier-imap/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 582ddf6..9760f27 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}|' \ |