From f0f740aa397c808f4085addb90531798b33ade28 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Wed, 28 Apr 2004 18:07:18 +0000 Subject: [PATCH] depend on devel/fam in case it is installed (because the port detects it automatically) Noted By: Jim Trigg PR: 66011 --- mail/courier-imap/Makefile | 5 +++-- 1 file 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 + +.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 post-patch: @${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \