git: aa8f9390170e - main - www/nginx-full: fix package build

From: Koichiro Iwao <meta_at_FreeBSD.org>
Date: Sun, 03 Dec 2023 09:03:32 UTC
The branch main has been updated by meta:

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

commit aa8f9390170e1e4f8470ccd7f03e54ab0ba77e61
Author:     Koichiro Iwao <meta@FreeBSD.org>
AuthorDate: 2023-11-22 14:26:25 +0000
Commit:     Koichiro Iwao <meta@FreeBSD.org>
CommitDate: 2023-12-03 09:03:15 +0000

    www/nginx-full: fix package build
    
    nginx-full requires either to enable GSSAPI_MIT or GSSAPI_HEIMDAL but
    none is enabled. As a result, fails to build bibary package on package
    build cluster.
    
    PR:             275262
    Approved by:    maintainer timeout
---
 www/nginx-full/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/www/nginx-full/Makefile b/www/nginx-full/Makefile
index 1aa50bba4d76..439f80968324 100644
--- a/www/nginx-full/Makefile
+++ b/www/nginx-full/Makefile
@@ -35,4 +35,10 @@ OPTIONS_DEFAULT=DSO DEBUG DEBUGLOG FILE_AIO GOOGLE_PERFTOOLS \
 		RTMP SET_MISC SFLOW SHIBBOLETH SLOWFS_CACHE SMALL_LIGHT \
 		SRCACHE STATSD VOD VTS UDPLOG X11 XSS WEBSOCKIFY
 
+.if defined(PACKAGE_BUILDING) || defined(BATCH)
+# Either GSSAPI_MIT or GSSAPI_HEIMDAL must be enabled to build binary package.
+# There's no chance to choose GSSAPI_RADIO via dialog while package building.
+OPTIONS_DEFAULT+=	GSSAPI_MIT
+.endif
+
 .include "${MASTERDIR}/Makefile"