From c4b652896c7daadf7266e7940448770b5a835bd8 Mon Sep 17 00:00:00 2001 From: gdt Date: Sun, 2 Dec 2007 02:17:24 +0000 Subject: [PATCH] Don't add smtpd.conf as a conf file in the dovecot-sasl case, because it doesn't exist unless sasl is defined, causing building with options dovecot-sasl and not sasl to fail. --- mail/postfix/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 64911028bea7..53cb820a889d 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.210 2007/10/30 19:31:39 martti Exp $ +# $NetBSD: Makefile,v 1.211 2007/12/02 02:17:24 gdt Exp $ DISTNAME= postfix-2.4.6 -#PKGREVISION= 1 +PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/official/ DIST_SUBDIR= postfix @@ -117,7 +117,7 @@ CONF_FILES_PERMS= # empty CONF_FILES_PERMS+= ${EXAMPLEDIR}/${i} ${PKG_SYSCONFDIR}/${i} \ ${ROOT_USER} ${ROOT_GROUP} 755 .endfor -.if !empty(PKG_OPTIONS:Msasl) || !empty(PKG_OPTIONS:Mdovecot-sasl) +.if !empty(PKG_OPTIONS:Msasl) MAKE_DIRS+= ${SASLLIBDIR} CONF_FILES+= ${EXAMPLEDIR}/smtpd.conf ${SASLLIBDIR}/smtpd.conf .endif