1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Append per arch defaults directly to OPTIONS_DEFAULT. Duplicates

are eliminated later.
This commit is contained in:
Tijl Coosemans 2013-06-10 08:39:14 +00:00
parent 15ef88aa2f
commit b1576256fb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320446

View File

@ -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}