From 2b579b7d6a9d3b57e6d6a840adf8430c6140f8aa Mon Sep 17 00:00:00 2001 From: schmonz Date: Thu, 7 Jun 2007 07:50:57 +0000 Subject: 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. --- mail/courier-imap/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mail/courier-imap') 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" -- cgit v1.2.3