summaryrefslogtreecommitdiff
path: root/mail/balsa2
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-03-07 11:15:45 +0000
committerrecht <recht@pkgsrc.org>2004-03-07 11:15:45 +0000
commit9a0f6abe7b800a8c1a0a2966f0135c9654fde65a (patch)
treeba49b622ba50e52ed955c4ba0b175724553cb44a /mail/balsa2
parent778d148b302ffb3227c11ba992a22aefb3724295 (diff)
downloadpkgsrc-9a0f6abe7b800a8c1a0a2966f0135c9654fde65a.tar.gz
Make USE_OPENLDAP actually work by including mk/bsd.prefs.mk and changing
--enable-ldap to --with-ldap. While at it add add BUILD_DEFS for openldap and use pkgsrc intltool. Bump PKGREVISION to 3, because of the openldap change.
Diffstat (limited to 'mail/balsa2')
-rw-r--r--mail/balsa2/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/mail/balsa2/Makefile b/mail/balsa2/Makefile
index b825cf61260..bc9298982e8 100644
--- a/mail/balsa2/Makefile
+++ b/mail/balsa2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2004/02/14 17:21:44 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2004/03/07 11:15:45 recht Exp $
#
DISTNAME= balsa-2.0.16
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= mail gnome
MASTER_SITES= http://balsa.gnome.org/ \
ftp://ftp.newton.cx/pub/balsa/
@@ -33,10 +33,13 @@ EGDIR= ${PREFIX}/share/examples/balsa
CONF_FILES+= ${EGDIR}/${cnf} ${PKG_SYSCONFDIR}/sound/events/${cnf}
.endfor
+.include "../../mk/bsd.prefs.mk"
+
.if defined(USE_OPENLDAP) && ${USE_OPENLDAP} == YES
-CONFIGURE_ARGS+= --enable-ldap
+CONFIGURE_ARGS+= --with-ldap
.include "../../databases/openldap/buildlink3.mk"
.endif
+BUILD_DEFS+= USE_OPENLDAP
.include "../../security/gpgme/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
@@ -48,6 +51,7 @@ CONFIGURE_ARGS+= --enable-ldap
.include "../../print/libgnomeprintui/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../textproc/aspell/buildlink3.mk"
+.include "../../textproc/intltool/buildlink3.mk"
.include "../../textproc/scrollkeeper/omf.mk"
.include "../../www/gtkhtml3/buildlink3.mk"
.include "../../mail/libesmtp/buildlink3.mk"