aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-02-08 00:20:08 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-02-08 00:20:08 +0000
commit5286f4f79179703bcfafc62899a115268e1f7aca (patch)
treed378632ff7bd34a4d633067e0a66dd5a7c90b243 /x11-servers
parentee0889927a6e0da8b028313b041aa51f4d1b4b3c (diff)
downloadports-5286f4f79179703bcfafc62899a115268e1f7aca.tar.gz
ports-5286f4f79179703bcfafc62899a115268e1f7aca.zip
Notes
Diffstat (limited to 'x11-servers')
-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>