aboutsummaryrefslogtreecommitdiff
path: root/x11-servers
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2002-03-19 14:24:07 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2002-03-19 14:24:07 +0000
commit4df7061d04f726ab29bea1c37f0388bb377835fc (patch)
tree8acb1fd5ac6e8245f16f32aadb60d88ccfc8c8dd /x11-servers
parente639bfca9bb158e856651bc709438a9a50931d04 (diff)
downloadports-4df7061d04f726ab29bea1c37f0388bb377835fc.tar.gz
ports-4df7061d04f726ab29bea1c37f0388bb377835fc.zip
Notes
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/XFree86-4-Server-snap/Makefile8
-rw-r--r--x11-servers/XFree86-4-Server/Makefile8
2 files changed, 14 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile
index b1a976482624..2b1a0e60db34 100644
--- a/x11-servers/XFree86-4-Server-snap/Makefile
+++ b/x11-servers/XFree86-4-Server-snap/Makefile
@@ -90,14 +90,18 @@ HasXdmAuth?= YES
HasSecureRPC?= DEFAULT
HasPam?= DEFAULT
ExtendedInputDevices?= DEFAULT
-.if (exists(/sys) || exists(/usr/src/sys))
+.if ${ARCH} == i386 && (exists(/sys) || exists(/usr/src/sys))
BuildXF86DRI= YES
BuildXF86DRM= YES
PLIST_SUB+= DRI=""
PLIST_SUB+= DRI_KMOD=""
.else
pre-fetch::
+.if ${ARCH} == i386
@${ECHO_MSG} "DRI would not build: kernel source required in /sys."
+.else
+ @${ECHO_MSG} "DRI only built on i386"
+.endif # i386
BuildXF86DRI= NO
BuildXF86DRM= NO
PLIST_SUB+= DRI="@comment "
@@ -178,6 +182,8 @@ post-patch::
post-install::
${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB
.endif # !WITH_MATROX_GXX_DRIVER
+.else
+HaveMatroxHal= NO
.endif
do-configure:
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index b1a976482624..2b1a0e60db34 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -90,14 +90,18 @@ HasXdmAuth?= YES
HasSecureRPC?= DEFAULT
HasPam?= DEFAULT
ExtendedInputDevices?= DEFAULT
-.if (exists(/sys) || exists(/usr/src/sys))
+.if ${ARCH} == i386 && (exists(/sys) || exists(/usr/src/sys))
BuildXF86DRI= YES
BuildXF86DRM= YES
PLIST_SUB+= DRI=""
PLIST_SUB+= DRI_KMOD=""
.else
pre-fetch::
+.if ${ARCH} == i386
@${ECHO_MSG} "DRI would not build: kernel source required in /sys."
+.else
+ @${ECHO_MSG} "DRI only built on i386"
+.endif # i386
BuildXF86DRI= NO
BuildXF86DRM= NO
PLIST_SUB+= DRI="@comment "
@@ -178,6 +182,8 @@ post-patch::
post-install::
${INSTALL_DATA} ${WRKSRC}/programs/Xserver/hw/xfree86/drivers/mga/README_HALLIB ${PREFIX}/lib/X11/doc/README.mga_HALLIB
.endif # !WITH_MATROX_GXX_DRIVER
+.else
+HaveMatroxHal= NO
.endif
do-configure: