summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2003-11-02 17:24:06 +0000
committersalo <salo@pkgsrc.org>2003-11-02 17:24:06 +0000
commit36d49c7c34ba0340ff4ef3ac090ca660a78ad3c1 (patch)
tree36cb24ea4392f70721848d3503adc4ed65ee8800 /mail
parent4bb8270747e558a7090c131941b6807cd0484fdc (diff)
downloadpkgsrc-36d49c7c34ba0340ff4ef3ac090ca660a78ad3c1.tar.gz
PKGREVISION++
- Some partial BODY[part] fetches may have returned data incorrectly, patch-ad fixes it. - Add missing BUILD_DEFS, sort.
Diffstat (limited to 'mail')
-rw-r--r--mail/dovecot/Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index e576fd60678..e18e05102e9 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2003/10/18 08:11:43 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2003/11/02 17:24:07 salo Exp $
#
DISTNAME= dovecot-0.99.10
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://dovecot.procontrol.fi/
@@ -27,20 +27,8 @@ CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS}
.include "../../mk/bsd.prefs.mk"
-.if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
-CONFIGURE_ARGS+= --with-ldap
-.include "../../databases/openldap/buildlink2.mk"
-.endif
-
-.if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])
-CONFIGURE_ARGS+= --with-cyrus-sasl2
-.include "../../security/cyrus-sasl2/buildlink2.mk"
-.endif
-
-.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
-BUILD_DEFS+= USE_INET6
-CONFIGURE_ARGS+= --enable-ipv6
-.endif
+BUILD_DEFS+= DOVECOT_USE_GNUTLS DOVECOT_USE_PGSQL \
+ USE_INET6 USE_OPENLDAP USE_SASL2
.if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-ssl=gnutls
@@ -56,6 +44,20 @@ CPPFLAGS= -I${BUILDLINK_DIR}/include/pgsql
.include "../../databases/postgresql-lib/buildlink2.mk"
.endif
+.if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --enable-ipv6
+.endif
+
+.if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --with-ldap
+.include "../../databases/openldap/buildlink2.mk"
+.endif
+
+.if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])
+CONFIGURE_ARGS+= --with-cyrus-sasl2
+.include "../../security/cyrus-sasl2/buildlink2.mk"
+.endif
+
RCD_SCRIPTS= dovecot
DOVECOT_USER?= dovecot