aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-10 17:27:19 +0800
committerbapt <bapt@FreeBSD.org>2013-06-10 17:27:19 +0800
commit5ed1e75ce24f91fbe308030cb5610f69dd76ff26 (patch)
tree0ebc90df10d86b508b00efc9080a38960e8a3943 /Mk/bsd.options.mk
parent935312447bfb07da6bba8b04f2444834db5c6ab6 (diff)
downloadfreebsd-ports-gnome-5ed1e75ce24f91fbe308030cb5610f69dd76ff26.tar.gz
freebsd-ports-gnome-5ed1e75ce24f91fbe308030cb5610f69dd76ff26.tar.zst
freebsd-ports-gnome-5ed1e75ce24f91fbe308030cb5610f69dd76ff26.zip
Yet more factorisation
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk15
1 files changed, 4 insertions, 11 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 62adb60b7857..4c36bd7f9904 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -106,17 +106,10 @@ OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:O:u}
# complete list
COMPLETE_OPTIONS_LIST= ${ALL_OPTIONS}
-.for single in ${OPTIONS_SINGLE}
-COMPLETE_OPTIONS_LIST+= ${OPTIONS_SINGLE_${single}}
-.endfor
-.for radio in ${OPTIONS_RADIO}
-COMPLETE_OPTIONS_LIST+= ${OPTIONS_RADIO_${radio}}
-.endfor
-.for multi in ${OPTIONS_MULTI}
-COMPLETE_OPTIONS_LIST+= ${OPTIONS_MULTI_${multi}}
-.endfor
-.for group in ${OPTIONS_GROUP}
-COMPLETE_OPTIONS_LIST+= ${OPTIONS_GROUP_${group}}
+.for otype in SINGLE RADIO MULTI GROUP
+. for m in ${OPTIONS_${otype}}
+COMPLETE_OPTIONS_LIST+= ${OPTIONS_${otype}_${m}}
+. endfor
.endfor
## Now create the list of activated options