diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-13 18:23:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-13 18:23:57 +0800 |
commit | 988a78c9fe929eea0d928e843901938b634203c9 (patch) | |
tree | 39e58f32ffc41a651f7f37e38571e3d3f874248a /Mk/bsd.options.mk | |
parent | 2fcefca42485e31873c7aee97e124b61ff429e67 (diff) | |
download | freebsd-ports-gnome-988a78c9fe929eea0d928e843901938b634203c9.tar.gz freebsd-ports-gnome-988a78c9fe929eea0d928e843901938b634203c9.tar.zst freebsd-ports-gnome-988a78c9fe929eea0d928e843901938b634203c9.zip |
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 55c3e72f7d31..ae48591fb7df 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} |