aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-server
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-02-08 08:20:08 +0800
committermarius <marius@FreeBSD.org>2010-02-08 08:20:08 +0800
commit5056a28034d8a7148da4d67f10dd1abfae0b163e (patch)
treea995fbb08b8e02eab12094b254ca1b07e4386b76 /x11-servers/xorg-server
parenta9302785c788ed9aea5d509777468a2d5640bb16 (diff)
downloadfreebsd-ports-gnome-5056a28034d8a7148da4d67f10dd1abfae0b163e.tar.gz
freebsd-ports-gnome-5056a28034d8a7148da4d67f10dd1abfae0b163e.tar.zst
freebsd-ports-gnome-5056a28034d8a7148da4d67f10dd1abfae0b163e.zip
Given that HAL doesn't work on sparc64 and always needs to be disabled
there anyway change the default to off for that architecture. Approved by: rnoland
Diffstat (limited to 'x11-servers/xorg-server')
-rw-r--r--x11-servers/xorg-server/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile
index 6d344d356a7e..91c273b73784 100644
--- a/x11-servers/xorg-server/Makefile
+++ b/x11-servers/xorg-server/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xorg-server
PORTVERSION= 1.6.5
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= x11-servers
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/xserver/
@@ -48,9 +49,17 @@ MAN5= xorg.conf.5
NOT_FOR_ARCHS= alpha
-OPTIONS= HAL "Compile with HAL config support" on \
- AIGLX "Compile with Accelerated Indirect GLX support" on \
+.if !defined(ARCH)
+ARCH!= /usr/bin/uname -p
+.endif
+
+OPTIONS= AIGLX "Compile with Accelerated Indirect GLX support" on \
SUID "Install the Xorg server with setuid bit set" on
+.if ${ARCH} == sparc64
+OPTIONS+= HAL "Compile with HAL config support" off
+.else
+OPTIONS+= HAL "Compile with HAL config support" on
+.endif
.include <bsd.port.pre.mk>