diff options
author | obache <obache@pkgsrc.org> | 2011-05-10 01:33:12 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-05-10 01:33:12 +0000 |
commit | b1343867bde07d9eb551a0cd3cc0dddad23863be (patch) | |
tree | 41e087a4b4d42d029f23d26a70ca6ada215e2955 /mail/alpine | |
parent | 0ec14fa02debfc186f4157213d600d9fbd217cba (diff) | |
download | pkgsrc-b1343867bde07d9eb551a0cd3cc0dddad23863be.tar.gz |
Exactly disable ldap support if ldap option is off (enabled by default in
configure script) to avoid hidden dependency.
Bump PKGREVISION.
Diffstat (limited to 'mail/alpine')
-rw-r--r-- | mail/alpine/Makefile | 4 | ||||
-rw-r--r-- | mail/alpine/options.mk | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile index d0681a2562e..40bc2f30288 100644 --- a/mail/alpine/Makefile +++ b/mail/alpine/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2011/05/09 12:02:59 obache Exp $ +# $NetBSD: Makefile,v 1.24 2011/05/10 01:33:12 obache Exp $ # DISTNAME= alpine-2.00 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= mail MASTER_SITES= ftp://ftp.cac.washington.edu/alpine/ DIST_SUBDIR= alpine-2.00a diff --git a/mail/alpine/options.mk b/mail/alpine/options.mk index b2d43a07d08..fa865cef94b 100644 --- a/mail/alpine/options.mk +++ b/mail/alpine/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2008/04/03 09:44:21 abs Exp $ +# $NetBSD: options.mk,v 1.3 2011/05/10 01:33:12 obache Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.alpine @@ -20,8 +20,10 @@ PATCH_DIST_STRIP= -p1 #.endif .if !empty(PKG_OPTIONS:Mldap) -CONFIGURE_ARGS+= --with-ldap +CONFIGURE_ARGS+= --with-ldap-dir=${BUILDLINK_PREFIX.openldap-client} .include "../../databases/openldap-client/buildlink3.mk" +.else +CONFIGURE_ARGS+= --without-ldap .endif .if !empty(PKG_OPTIONS:Mmaildir) |