diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-07-13 18:23:57 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-07-13 18:23:57 +0800 |
commit | abb421178b40d538c4cd278668b0390288ab38a6 (patch) | |
tree | 2fb00fbbbc36f2454852abe8d678aa386bc41730 /Mk/bsd.options.mk | |
parent | 41a8aed64311c115afcc4ecfe550c1924198f414 (diff) | |
download | freebsd-ports-gnome-abb421178b40d538c4cd278668b0390288ab38a6.tar.gz freebsd-ports-gnome-abb421178b40d538c4cd278668b0390288ab38a6.tar.zst freebsd-ports-gnome-abb421178b40d538c4cd278668b0390288ab38a6.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} |