pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/balsa2 Make USE_OPENLDAP actually work by includi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db503c84aa9b
branches:  trunk
changeset: 470225:db503c84aa9b
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Mar 07 11:15:45 2004 +0000

description:
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:

 mail/balsa2/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (37 lines):

diff -r f5c9e5cdf95a -r db503c84aa9b mail/balsa2/Makefile
--- a/mail/balsa2/Makefile      Sun Mar 07 10:58:46 2004 +0000
+++ b/mail/balsa2/Makefile      Sun Mar 07 11:15:45 2004 +0000
@@ -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 @@
 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 @@
 .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"



Home | Main Index | Thread Index | Old Index