diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2004-04-28 18:07:18 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2004-04-28 18:07:18 +0000 |
commit | f0f740aa397c808f4085addb90531798b33ade28 (patch) | |
tree | bd8eb51100690583f9e703b99147989b21dfb9b8 /mail/courier-imap | |
parent | ace6d2758572b928d88eb8cd53e09e523e00b736 (diff) | |
download | ports-f0f740aa397c808f4085addb90531798b33ade28.tar.gz ports-f0f740aa397c808f4085addb90531798b33ade28.zip |
Notes
Diffstat (limited to 'mail/courier-imap')
-rw-r--r-- | mail/courier-imap/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile index 3309e81686aa..c2fb552c79f1 100644 --- a/mail/courier-imap/Makefile +++ b/mail/courier-imap/Makefile @@ -155,7 +155,9 @@ CONFIGURE_ARGS+=--without-authcram CONFIGURE_ARGS+=--with-authcram .endif -.if defined(WITH_FAM) +.include <bsd.port.pre.mk> + +.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so) CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="${LDFLAGS}" LDFLAGS+= -L${LOCALBASE}/lib @@ -187,7 +189,6 @@ MLINKS= authlib.7 authpwd.7 \ EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog -.include <bsd.port.pre.mk> post-patch: @${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \ |