diff options
author | manu <manu@pkgsrc.org> | 2012-09-11 00:30:13 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2012-09-11 00:30:13 +0000 |
commit | 7ea3427ba45b8adbc41ca7930eb2e8f9d30ae820 (patch) | |
tree | 2f6df75b904f55fed9957fe40517ead804511408 /net/netatalk | |
parent | 35c39ce3a5f15b3a35537588f61f8677f06627e0 (diff) | |
download | pkgsrc-7ea3427ba45b8adbc41ca7930eb2e8f9d30ae820.tar.gz |
Add LDAP option for Netatalk
Diffstat (limited to 'net/netatalk')
-rw-r--r-- | net/netatalk/Makefile | 5 | ||||
-rw-r--r-- | net/netatalk/options.mk | 11 |
2 files changed, 11 insertions, 5 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 68d11734ee5..d1d12d5292e 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.88 2012/07/25 11:33:49 fhajny Exp $ +# $NetBSD: Makefile,v 1.89 2012/09/11 00:30:13 manu Exp $ DISTNAME= netatalk-2.2.1 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= net print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/} EXTRACT_SUFX= .tar.bz2 @@ -51,7 +51,6 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE}/netatalk CONFIGURE_ARGS+= --with-uams-path=${PREFIX}/libexec/netatalk/uams CONFIGURE_ARGS+= --with-bdb=${BDBBASE} CONFIGURE_ARGS+= --with-ssl-dir=${BUILDLINK_PREFIX.openssl} -CONFIGURE_ARGS+= --with-ldap=no CONFIGURE_ENV+= MACHINE_ARCH=${MACHINE_ARCH} MAKE_DIRS+= ${PKG_SYSCONFDIR}/msg diff --git a/net/netatalk/options.mk b/net/netatalk/options.mk index 8d6ba2d85e2..901652454f6 100644 --- a/net/netatalk/options.mk +++ b/net/netatalk/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.3 2012/05/16 12:11:17 hauke Exp $ +# $NetBSD: options.mk,v 1.4 2012/09/11 00:30:13 manu Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk -PKG_SUPPORTED_OPTIONS= cups debug kerberos pam slp +PKG_SUPPORTED_OPTIONS= cups debug kerberos pam slp ldap .include "../../mk/bsd.options.mk" @@ -48,3 +48,10 @@ CONFIGURE_ARGS+= --enable-srvloc .else CONFIGURE_ARGS+= --disable-srvloc .endif + +.if !empty(PKG_OPTIONS:Mldap) +.include "../../databases/openldap-client/buildlink3.mk" +CONFIGURE_ARGS+= --with-ldap=yes +.else +CONFIGURE_ARGS+= --with-ldap=no +.endif |