git: cac5bdd7332b - main - net/samba416: Mark flavor externalldb as BROKEN

From: Mateusz Piotrowski <0mp_at_FreeBSD.org>
Date: Wed, 21 Aug 2024 17:01:33 UTC
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cac5bdd7332b0c5a49e45edb87d2a10ccd2799a2

commit cac5bdd7332b0c5a49e45edb87d2a10ccd2799a2
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2024-08-21 13:28:51 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-08-21 17:00:46 +0000

    net/samba416: Mark flavor externalldb as BROKEN
    
    databases/ldb25 is not built with Python support by default, which is
    required for the externalldb to build correctly. We are going to be
    deprecating net/samba416 soon, so let's not introduce unnecessary
    instabilities by enabling Python support in databases/ldb25 by default.
    
    Interested parties building their own packages can still set TRYBROKEN
    for this flavor and carry on.
    
    For Samba 4.19, we have transitioned to the unbundled model anyway, so
    net/samba416 is the only Samba version to be available the externalldb
    flavor.
    
    PR:             276835
    Reported by:    pkg-fallout
    Approved by:    samba (0mp)
    Sponsored by:   Klara, Inc.
---
 net/samba416/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/samba416/Makefile b/net/samba416/Makefile
index 45da041234f0..0c8eefad192c 100644
--- a/net/samba416/Makefile
+++ b/net/samba416/Makefile
@@ -106,6 +106,9 @@ CONFIGURE_LOG=			bin/config.log
 FLAVORS=			default externalldb
 FLAVOR?=			${FLAVORS:[1]}
 externalldb_PKGNAMESUFFIX=		-externalldb
+.if ${FLAVOR:U} == externalldb
+BROKEN=				fails to build; databases/ldb25 is not built with Python support by default
+.endif
 
 # Make sure that the right version of Python is used by the tools
 # https://bugzilla.samba.org/show_bug.cgi?id=7305