diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-13 10:23:57 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-13 10:23:57 +0000 |
commit | 988a78c9fe929eea0d928e843901938b634203c9 (patch) | |
tree | 39e58f32ffc41a651f7f37e38571e3d3f874248a /Mk/bsd.options.mk | |
parent | 2fcefca42485e31873c7aee97e124b61ff429e67 (diff) | |
download | FreeBSD-ports-988a78c9fe929eea0d928e843901938b634203c9.zip FreeBSD-ports-988a78c9fe929eea0d928e843901938b634203c9.tar.gz |
Add new OPTIONS_EXCLUSE_${ARCH} to be able to exclude an option on the given arch
Fix xorg-server on sparc64 by excluing the HAL option on sparc64 has it used to
be before convertion to new options framework [1]
Reported by: marius@
Tested by: marius@
Approved by: kwm [1]
Diffstat (limited to 'Mk/bsd.options.mk')
-rw-r--r-- | Mk/bsd.options.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.options.mk b/Mk/bsd.options.mk index 55c3e72..ae48591 100644 --- a/Mk/bsd.options.mk +++ b/Mk/bsd.options.mk @@ -27,6 +27,11 @@ PORT_OPTIONS+= NLS PORT_OPTIONS+= EXAMPLES .endif +.for opt in ${OPTIONS_EXCLUDE_${ARCH}} +OPTIONS_DEFINE:= ${OPTIONS_DEFINE:N${opt}} +OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:N${opt}} +.endfor + # Append options set by the port Makefile .for opt in ${OPTIONS_DEFINE} ALL_OPTIONS+= ${opt} |