summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-01-31 21:18:37 +0000
committerjlam <jlam@pkgsrc.org>2002-01-31 21:18:37 +0000
commit2b3975b2e8c908773889544cd41b3aed08afecec (patch)
tree25b24bc32120772d863d03d021fdd8e37cf7b77d /mail
parenta3a490535f6df008ef31f044b151b7c7adc8df2e (diff)
downloadpkgsrc-2b3975b2e8c908773889544cd41b3aed08afecec.tar.gz
Deprecate POSTFIX_USE_SASL_AUTH in favor of more generic USE_SASL.
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 6d59509e696..0a4cef305d5 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2001/12/05 15:00:46 agc Exp $
+# $NetBSD: Makefile,v 1.53 2002/01/31 21:20:34 jlam Exp $
DISTNAME= postfix-20010228-pl08
PKGNAME= postfix-20010228pl8
@@ -26,7 +26,7 @@ BUILD_DEFS+= POSTFIX_USE_INET6
.endif
.if defined(POSTFIX_USE_PCRE) && ${POSTFIX_USE_PCRE} == "YES" \
- || defined(POSTFIX_USE_SASL_AUTH) && ${POSTFIX_USE_SASL_AUTH} == "YES"
+ || defined(USE_SASL) && ${USE_SASL} == "YES"
CCARGS= -I${LOCALBASE}/include
AUXLIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE}/lib
MAKE_ENV+= AUXLIBS="${AUXLIBS}" CCARGS="${CCARGS}"
@@ -39,14 +39,14 @@ AUXLIBS+= -lpcre
BUILD_DEFS+= POSTFIX_USE_PCRE
.endif
-.if defined(POSTFIX_USE_SASL_AUTH) && ${POSTFIX_USE_SASL_AUTH} == "YES"
+.if defined(USE_SASL) && ${USE_SASL} == "YES"
DEPENDS+= cyrus-sasl:../../security/cyrus-sasl
CCARGS+= -DUSE_SASL_AUTH
AUXLIBS+= -lsasl
PLIST_SRC+= ${WRKDIR}/PLIST.sasl
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.sasl
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
-BUILD_DEFS+= POSTFIX_USE_SASL_AUTH
+BUILD_DEFS+= USE_SASL
.endif
PLIST_SRC+= ${PKGDIR}/PLIST
@@ -79,7 +79,7 @@ pre-install:
${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${PREFIX}/share/postfix ${PREFIX}/libexec/postfix
${CHMOD} 755 ${PREFIX}/share/postfix ${PREFIX}/libexec/postfix
-${RM} -f ${WRKSRC}/conf/*.orig
-.if defined(POSTFIX_USE_SASL_AUTH) && ${POSTFIX_USE_SASL_AUTH} == "YES"
+.if defined(USE_SASL) && ${USE_SASL} == "YES"
echo "pwcheck_method: sasldb" > ${WRKDIR}/smtpd.conf
${INSTALL_DATA} ${WRKDIR}/smtpd.conf ${PREFIX}/lib/sasl
echo lib/sasl/smtpd.conf > ${WRKDIR}/PLIST.sasl