git: c561d3281419 - main - security/py-gssapi: enforce that exactly one GSSAPI_* option is set

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 05:08:11 UTC
The branch main has been updated by fuz:

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

commit c561d3281419fefe3495732244b6a570d0145b74
Author:     John W. O'Brien <john@saltant.com>
AuthorDate: 2023-09-22 01:19:09 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:56:49 +0000

    security/py-gssapi: enforce that exactly one GSSAPI_* option is set
    
    You must set exactly one OPTION from among GSSAPI_BASE, GSSAPI_HEIMDAL,
    and GSSAPI_MIT. This patch, converting that OPTION group from
    RADIO to SINGLE will make the error much clearer in this case.
    
    PR:             273769
    Reported by:    Oclair <jason@aventia.pw>
    MFH:            2023Q3
---
 security/py-gssapi/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/py-gssapi/Makefile b/security/py-gssapi/Makefile
index 68d8b9fb9d66..3a5dbfbaa9fc 100644
--- a/security/py-gssapi/Makefile
+++ b/security/py-gssapi/Makefile
@@ -16,8 +16,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR}
 USES=	python
 USE_PYTHON=	autoplist cython distutils
 
-OPTIONS_RADIO=	GSSAPI
-OPTIONS_RADIO_GSSAPI=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
+OPTIONS_SINGLE=	GSSAPI
+OPTIONS_SINGLE_GSSAPI=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
 OPTIONS_DEFAULT=	GSSAPI_BASE
 
 GSSAPI_BASE_USES=	gssapi ssl