diff options
Diffstat (limited to 'net/netatalk/options.mk')
-rw-r--r-- | net/netatalk/options.mk | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/net/netatalk/options.mk b/net/netatalk/options.mk index 901652454f6..3fb1dc779fc 100644 --- a/net/netatalk/options.mk +++ b/net/netatalk/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.4 2012/09/11 00:30:13 manu Exp $ +# $NetBSD: options.mk,v 1.5 2013/04/30 15:43:30 hauke Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.netatalk -PKG_SUPPORTED_OPTIONS= cups debug kerberos pam slp ldap +PKG_SUPPORTED_OPTIONS= cups debug dnssd kerberos ldap pam slp .include "../../mk/bsd.options.mk" @@ -22,6 +22,14 @@ CFLAGS+= -g3 INSTALL_UNSTRIPPED= yes .endif +PLIST_VARS+= dnssd +.if !empty(PKG_OPTIONS:Mdnssd) +.include "../../net/mDNSResponder/buildlink3.mk" +CONFIGURE_ARGS+= --enable-zeroconf +.else +# configure patched to zeroconf="no" +.endif + PLIST_VARS+= gssapi .if !empty(PKG_OPTIONS:Mkerberos) .include "../../mk/krb5.buildlink3.mk" @@ -32,6 +40,13 @@ PLIST.gssapi= yes CONFIGURE_ARGS+= --without-gssapi .endif +.if !empty(PKG_OPTIONS:Mldap) +.include "../../databases/openldap-client/buildlink3.mk" +CONFIGURE_ARGS+= --with-ldap=yes +.else +CONFIGURE_ARGS+= --with-ldap=no +.endif + PLIST_VARS+= pam .if !empty(PKG_OPTIONS:Mpam) .include "../../mk/pam.buildlink3.mk" @@ -48,10 +63,3 @@ 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 |