aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.options.mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2013-06-10 16:39:14 +0800
committertijl <tijl@FreeBSD.org>2013-06-10 16:39:14 +0800
commit9a45a0b7ab27987d261438b2bee9b977b3e73f01 (patch)
treeaff0e399e7aca8e76454d53e272ba23565d84d3a /Mk/bsd.options.mk
parente8eb72b0902c4fd17dac9d9abeac4a0119c20e03 (diff)
downloadfreebsd-ports-gnome-9a45a0b7ab27987d261438b2bee9b977b3e73f01.tar.gz
freebsd-ports-gnome-9a45a0b7ab27987d261438b2bee9b977b3e73f01.tar.zst
freebsd-ports-gnome-9a45a0b7ab27987d261438b2bee9b977b3e73f01.zip
Append per arch defaults directly to OPTIONS_DEFAULT. Duplicates
are eliminated later.
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r--Mk/bsd.options.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk
index 3db6831bd318..cf261f4043d8 100644
--- a/Mk/bsd.options.mk
+++ b/Mk/bsd.options.mk
@@ -76,11 +76,7 @@ OPTIONS_DEFINE+= ${opt}
.endfor
# Add per arch defaults
-.for opt in ${OPTIONS_DEFAULT_${ARCH}}
-.if empty(OPTIONS_DEFAULT:M${opt})
-OPTIONS_DEFAULT+= ${opt}
-.endif
-.endfor
+OPTIONS_DEFAULT+= ${OPTIONS_DEFAULT_${ARCH}}
# Remove options the port maintainer doesn't want
.for opt in ${OPTIONS_EXCLUDE_${ARCH}} ${OPTIONS_EXCLUDE} ${OPTIONS_SLAVE}