aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-server/Makefile')
-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>