summaryrefslogtreecommitdiff
path: root/mail/courier-imap
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2007-06-07 07:50:57 +0000
committerschmonz <schmonz@pkgsrc.org>2007-06-07 07:50:57 +0000
commitc0a6b738a9e93a19ae657fc0cb4a898dafebd59e (patch)
tree69b79b71dfff1c87381e269759871ecba502e137 /mail/courier-imap
parentc747a41c667c161897572bdbea077bdf72bb82ad (diff)
downloadpkgsrc-c0a6b738a9e93a19ae657fc0cb4a898dafebd59e.tar.gz
Move handling of the "fam" option directly into the Courier packages
which use it. This fixes the build of courier-maildir (which includes courier-mta/Makefile.common) since -r1.60 of mk/bsd.options.mk.
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index bde5b281afd..86903933aab 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.59 2006/10/10 12:55:39 ben Exp $
+# $NetBSD: Makefile,v 1.60 2007/06/07 07:50:57 schmonz Exp $
DISTNAME= courier-imap-4.1.1
PKGREVISION= 3
@@ -19,6 +19,12 @@ USE_LIBTOOL= yes
PKG_SUPPORTED_OPTIONS+= fam
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfam)
+. include "../../mk/fam.buildlink3.mk"
+.endif
+
# PKGNAME is a parameter to the following file
PKGNAME= ${DISTNAME}
.include "../../mail/courier-mta/Makefile.common"