summaryrefslogtreecommitdiff
path: root/mail/dovecot
diff options
context:
space:
mode:
authorsalo <salo>2003-11-02 17:24:06 +0000
committersalo <salo>2003-11-02 17:24:06 +0000
commit32a806e04ff72655812b4e7e109a95f195ab5b3f (patch)
tree36cb24ea4392f70721848d3503adc4ed65ee8800 /mail/dovecot
parentcaf82233bb021b311784fa4cb6ecddda243fdef0 (diff)
downloadpkgsrc-32a806e04ff72655812b4e7e109a95f195ab5b3f.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/dovecot')
-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