diff options
author | oliver <oliver@FreeBSD.org> | 2004-04-29 02:07:18 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2004-04-29 02:07:18 +0800 |
commit | e4953debdaaa014563d10ea694eb0066da12be2f (patch) | |
tree | aa8b3327f9eed947d72966b643972d798d0bb624 /mail | |
parent | 0fbcc508fe3726d53e52fdcc208f7cd3027152d5 (diff) | |
download | freebsd-ports-gnome-e4953debdaaa014563d10ea694eb0066da12be2f.tar.gz freebsd-ports-gnome-e4953debdaaa014563d10ea694eb0066da12be2f.tar.zst freebsd-ports-gnome-e4953debdaaa014563d10ea694eb0066da12be2f.zip |
depend on devel/fam in case it is installed (because the port detects it automatically)
Noted By: Jim Trigg <jtrigg@spamcop.net>
PR: 66011
Diffstat (limited to 'mail')
-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' \ |