aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-server/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-13 18:23:57 +0800
committerbapt <bapt@FreeBSD.org>2012-07-13 18:23:57 +0800
commit988a78c9fe929eea0d928e843901938b634203c9 (patch)
tree39e58f32ffc41a651f7f37e38571e3d3f874248a /x11-servers/xorg-server/Makefile
parent2fcefca42485e31873c7aee97e124b61ff429e67 (diff)
downloadfreebsd-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 'x11-servers/xorg-server/Makefile')
-rw-r--r--x11-servers/xorg-server/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index 4f693e228648..2e35ac81c929 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -80,12 +80,9 @@ SUID_DESC= Install the Xorg server with setuid bit set
HAL_DESC= Compile with HAL config support
OPTIONS_DEFAULT= AIGLX SUID HAL
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == sparc64
-OPTIONS_DEFAULT:= ${OPTIONS_DEFAULT:NHAL}
-.endif
+OPTIONS_EXCLUDE_sparc64= HAL
+.include <bsd.port.pre.mk>
.if defined(WITH_OPENSSL_BASE)
# The reason why I use this is cause openssl from base doesn't install a .pc file