diff options
author | ghen <ghen@pkgsrc.org> | 2008-01-25 09:42:54 +0000 |
---|---|---|
committer | ghen <ghen@pkgsrc.org> | 2008-01-25 09:42:54 +0000 |
commit | 9385d343d3fc69c171d3b18d2b276c4035608267 (patch) | |
tree | a36d797a7e66fa6134ff20e61a278ac21a51da0b /mail/postfix-current | |
parent | 8a540a3b6abcbe4e18689620fef311da68a8fd51 (diff) | |
download | pkgsrc-9385d343d3fc69c171d3b18d2b276c4035608267.tar.gz |
Move SASL conditionals to options.mk.
Diffstat (limited to 'mail/postfix-current')
-rw-r--r-- | mail/postfix-current/Makefile | 6 | ||||
-rw-r--r-- | mail/postfix-current/options.mk | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/mail/postfix-current/Makefile b/mail/postfix-current/Makefile index 905853ca3dc..8bf23bef021 100644 --- a/mail/postfix-current/Makefile +++ b/mail/postfix-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.92 2008/01/25 09:41:28 ghen Exp $ +# $NetBSD: Makefile,v 1.93 2008/01/25 09:42:54 ghen Exp $ DISTNAME= postfix-2.5.0 CATEGORIES= mail @@ -116,10 +116,6 @@ CONF_FILES_PERMS= # empty CONF_FILES_PERMS+= ${EXAMPLEDIR}/${i} ${PKG_SYSCONFDIR}/${i} \ ${ROOT_USER} ${ROOT_GROUP} 755 .endfor -.if !empty(PKG_OPTIONS:Msasl) -MAKE_DIRS+= ${SASLLIBDIR} -CONF_FILES+= ${EXAMPLEDIR}/smtpd.conf ${SASLLIBDIR}/smtpd.conf -.endif MAKE_ENV+= DEBUG= # empty diff --git a/mail/postfix-current/options.mk b/mail/postfix-current/options.mk index 21a19ba94ca..5b341468caf 100644 --- a/mail/postfix-current/options.mk +++ b/mail/postfix-current/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.18 2008/01/17 13:56:37 martti Exp $ +# $NetBSD: options.mk,v 1.19 2008/01/25 09:42:54 ghen Exp $ # Global and legacy options @@ -99,6 +99,8 @@ PLIST_SUBST+= SASL= MESSAGE_SRC+= ${PKGDIR}/MESSAGE.sasl MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} MESSAGE_SUBST+= SASLLIBDIR=${SASLLIBDIR} +MAKE_DIRS+= ${SASLLIBDIR} +CONF_FILES+= ${EXAMPLEDIR}/smtpd.conf ${SASLLIBDIR}/smtpd.conf .else PLIST_SUBST+= SASL="@comment " CCARGS+= -DDEF_SERVER_SASL_TYPE=\"dovecot\" |