git: aaca478ea0cd - main - net/samba422: Use GSSAPI_MIT_PLIST_FILES instead of if statements
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Dec 2025 22:31:13 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aaca478ea0cd55a033f5fd98e7140a1ac9926e27
commit aaca478ea0cd55a033f5fd98e7140a1ac9926e27
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-12-10 22:26:56 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-12-10 22:29:59 +0000
net/samba422: Use GSSAPI_MIT_PLIST_FILES instead of if statements
---
net/samba422/Makefile | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/net/samba422/Makefile b/net/samba422/Makefile
index be7b6860645a..12529c5ce642 100644
--- a/net/samba422/Makefile
+++ b/net/samba422/Makefile
@@ -351,6 +351,9 @@ GSSAPI_MIT_USES= bison gssapi:mit
GSSAPI_MIT_CONFIGURE_ON= --with-system-mitkrb5 ${GSSAPIBASEDIR} \
--with-system-mitkdc=${GSSAPIBASEDIR}/sbin/krb5kdc \
--with-experimental-mit-ad-dc
+GSSAPI_MIT_PLIST_FILES= ${SAMBA4_MODULEDIR}/krb5/winbind_krb5_localauth.so \
+ %%MANPAGES%%share/man/man8/winbind_krb5_localauth.8.gz \
+ %%AD_DC%%${SAMBA4_LIBDIR}/krb5/plugins/kdb/samba.so
LDAP_USES= ldap
LDAP_CONFIGURE_ON= --with-ldap
@@ -489,15 +492,6 @@ PLIST_FILES+= ${SAMBA4_LIBDIR}/private/libldb-mdb-int-private-samba.so \
. endif
.endif
-.if ${PORT_OPTIONS:MGSSAPI_MIT}
-PLIST_FILES+= ${SAMBA4_MODULEDIR}/krb5/winbind_krb5_localauth.so
-. if ${PORT_OPTIONS:MMANPAGES}
-PLIST_FILES+= share/man/man8/winbind_krb5_localauth.8.gz
-. endif
-. if ${PORT_OPTIONS:MAD_DC}
-PLIST_FILES+= ${SAMBA4_LIBDIR}/krb5/plugins/kdb/samba.so
-. endif
-.endif
.if ${PORT_OPTIONS:MFRUIT}
. if ${PORT_OPTIONS:MMANPAGES}
PLIST_FILES+= share/man/man8/vfs_fruit.8.gz