Mon Jul 12 22:30:44 2021 UTC ()
samba4: "Building --without-ads requires also building --without-ad-dc."


(nia)
diff -r1.15 -r1.16 pkgsrc/net/samba4/options.mk

cvs diff -r1.15 -r1.16 pkgsrc/net/samba4/options.mk (expand / switch to unified diff)

--- pkgsrc/net/samba4/options.mk 2021/06/02 20:05:20 1.15
+++ pkgsrc/net/samba4/options.mk 2021/07/12 22:30:44 1.16
@@ -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
3PKG_OPTIONS_VAR= PKG_OPTIONS.samba4 3PKG_OPTIONS_VAR= PKG_OPTIONS.samba4
4PKG_SUPPORTED_OPTIONS= ads avahi fam ldap pam winbind # cups # cups option is broken for me. 4PKG_SUPPORTED_OPTIONS= ads avahi fam ldap pam winbind # cups # cups option is broken for me.
5PKG_SUGGESTED_OPTIONS= avahi ldap pam winbind 5PKG_SUGGESTED_OPTIONS= avahi ldap pam winbind
6 6
7.include "../../mk/bsd.fast.prefs.mk" 7.include "../../mk/bsd.fast.prefs.mk"
8 8
9SAMBA_ACL_OPSYS= AIX Darwin FreeBSD HPUX IRIX Linux NetBSD OSF1 SunOS 9SAMBA_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})
11PKG_SUPPORTED_OPTIONS+= acl 11PKG_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
31CONFIGURE_ARGS+= --with-acl-support 31CONFIGURE_ARGS+= --with-acl-support
32.else 32.else
33CONFIGURE_ARGS+= --without-acl-support 33CONFIGURE_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)
40CONFIGURE_ARGS+= --with-ads 40CONFIGURE_ARGS+= --with-ads
41PLIST.ads= yes 41PLIST.ads= yes
42.else 42.else
43CONFIGURE_ARGS+= --without-ads 43CONFIGURE_ARGS+= --without-ads
 44CONFIGURE_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"
51CONFIGURE_ARGS+= --enable-cups 52CONFIGURE_ARGS+= --enable-cups
52PLIST.cups= yes 53PLIST.cups= yes
53INSTALLATION_DIRS+= libexec/cups/backend 54INSTALLATION_DIRS+= libexec/cups/backend
54.else 55.else
55CONFIGURE_ARGS+= --disable-cups 56CONFIGURE_ARGS+= --disable-cups
56.endif 57.endif