aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-07 16:06:17 +0800
committerbapt <bapt@FreeBSD.org>2013-06-07 16:06:17 +0800
commitc60ece873246c38eb7a50f32f0fd35997808d097 (patch)
treeb061ecc4d58ddf4303c6b44ce13d75a2f7c01167 /Mk/bsd.options.mk
parent85c1a8979bac36d029bbdc25dd065e2fcacb2fa9 (diff)
downloadfreebsd-ports-gnome-c60ece873246c38eb7a50f32f0fd35997808d097.tar.gz
freebsd-ports-gnome-c60ece873246c38eb7a50f32f0fd35997808d097.tar.zst
freebsd-ports-gnome-c60ece873246c38eb7a50f32f0fd35997808d097.zip
Do not automatically popup dialog in case only options from global options are defined
Requested by: many
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 693c8c7c9e10..dfe42536f913 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -54,6 +54,8 @@ OPTIONSFILE?= ${PORT_DBDIR}/${UNIQUENAME}/options
#ALL_OPTIONS= DOCS \
# NLS
+GLOBAL_OPTIONS= DOCS NLS EXAMPLES IPV6
+
# Set the default values for the global options, as defined by portmgr
.if !defined(NOPORTDOCS)
PORT_OPTIONS+= DOCS
@@ -315,3 +317,8 @@ WITH_${opt}:= true
.endfor
.endif
###
+
+_OPTIONS_WITHOUT_GLOBALS:= ${COMPLETE_OPTIONS_LIST}
+.for opt in ${GLOBAL_OPTIONS}
+_OPTIONS_WITHOUT_GLOBALS:= ${_OPTIONS_WITHOUT_GLOBALS:N${opt}}
+.endfor