| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.15 2021/06/02 20:05:20 nia Exp $ | | 1 | # $NetBSD: options.mk,v 1.16 2021/07/12 22:30:44 nia Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 |
4 | PKG_SUPPORTED_OPTIONS= ads avahi fam ldap pam winbind # cups # cups option is broken for me. | | 4 | PKG_SUPPORTED_OPTIONS= ads avahi fam ldap pam winbind # cups # cups option is broken for me. |
5 | PKG_SUGGESTED_OPTIONS= avahi ldap pam winbind | | 5 | PKG_SUGGESTED_OPTIONS= avahi ldap pam winbind |
6 | | | 6 | |
7 | .include "../../mk/bsd.fast.prefs.mk" | | 7 | .include "../../mk/bsd.fast.prefs.mk" |
8 | | | 8 | |
9 | SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux NetBSD OSF1 SunOS | | 9 | SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux NetBSD OSF1 SunOS |
10 | .if !empty(SAMBA_ACL_OPSYS:M${OPSYS}) | | 10 | .if !empty(SAMBA_ACL_OPSYS:M${OPSYS}) |
11 | PKG_SUPPORTED_OPTIONS+= acl | | 11 | PKG_SUPPORTED_OPTIONS+= acl |
12 | .endif | | 12 | .endif |
13 | | | 13 | |
14 | .if empty(MACHINE_PLATFORM:MDarwin-1[1-9].*) | | 14 | .if empty(MACHINE_PLATFORM:MDarwin-1[1-9].*) |
| @@ -31,26 +31,27 @@ PLIST_VARS+= ads cups fam ldap pam snap | | | @@ -31,26 +31,27 @@ PLIST_VARS+= ads cups fam ldap pam snap |
31 | CONFIGURE_ARGS+= --with-acl-support | | 31 | CONFIGURE_ARGS+= --with-acl-support |
32 | .else | | 32 | .else |
33 | CONFIGURE_ARGS+= --without-acl-support | | 33 | CONFIGURE_ARGS+= --without-acl-support |
34 | .endif | | 34 | .endif |
35 | | | 35 | |
36 | ### | | 36 | ### |
37 | ### Allow Samba to join as a member server of an Active Directory domain. | | 37 | ### Allow Samba to join as a member server of an Active Directory domain. |
38 | ### | | 38 | ### |
39 | .if !empty(PKG_OPTIONS:Mads) | | 39 | .if !empty(PKG_OPTIONS:Mads) |
40 | CONFIGURE_ARGS+= --with-ads | | 40 | CONFIGURE_ARGS+= --with-ads |
41 | PLIST.ads= yes | | 41 | PLIST.ads= yes |
42 | .else | | 42 | .else |
43 | CONFIGURE_ARGS+= --without-ads | | 43 | CONFIGURE_ARGS+= --without-ads |
| | | 44 | CONFIGURE_ARGS+= --without-ad-dc |
44 | .endif | | 45 | .endif |
45 | | | 46 | |
46 | ### | | 47 | ### |
47 | ### Native CUPS support for providing printing services. | | 48 | ### Native CUPS support for providing printing services. |
48 | ### | | 49 | ### |
49 | .if !empty(PKG_OPTIONS:Mcups) | | 50 | .if !empty(PKG_OPTIONS:Mcups) |
50 | . include "../../print/cups-base/buildlink3.mk" | | 51 | . include "../../print/cups-base/buildlink3.mk" |
51 | CONFIGURE_ARGS+= --enable-cups | | 52 | CONFIGURE_ARGS+= --enable-cups |
52 | PLIST.cups= yes | | 53 | PLIST.cups= yes |
53 | INSTALLATION_DIRS+= libexec/cups/backend | | 54 | INSTALLATION_DIRS+= libexec/cups/backend |
54 | .else | | 55 | .else |
55 | CONFIGURE_ARGS+= --disable-cups | | 56 | CONFIGURE_ARGS+= --disable-cups |
56 | .endif | | 57 | .endif |