summaryrefslogtreecommitdiff
path: root/x11/xorg
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-07-25 20:41:21 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-07-25 20:41:21 +0000
commit23f6fcf564c0d957a01c98a585af4c9d24c7e37b (patch)
treea2b1de3e07458267c367f2c93507d2fdcf4a7bb7 /x11/xorg
parentThis works on AMD64 as well. Fixes build of xorg metaport on AMD64. (diff)
Only depend on the DRI on architectures it's supported on.
Notes
Notes: svn path=/head/; revision=114707
Diffstat (limited to 'x11/xorg')
-rw-r--r--x11/xorg/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/xorg/Makefile b/x11/xorg/Makefile
index 6f69073b4fef..87ca7ab6cd56 100644
--- a/x11/xorg/Makefile
+++ b/x11/xorg/Makefile
@@ -29,8 +29,13 @@ RUN_DEPENDS= xvinfo:${PORTSDIR}/x11/xorg-clients \
${X11BASE}/bin/xfs:${PORTSDIR}/x11-servers/xorg-fontserver \
${X11BASE}/bin/Xnest:${PORTSDIR}/x11-servers/xorg-nestserver \
${X11BASE}/bin/Xvfb:${PORTSDIR}/x11-servers/xorg-vfbserver \
- ${X11BASE}/bin/Xprt:${PORTSDIR}/x11-servers/xorg-printserver \
- ${X11BASE}/lib/modules/dri/r200_dri.so:${PORTSDIR}/graphics/dri
+ ${X11BASE}/bin/Xprt:${PORTSDIR}/x11-servers/xorg-printserver
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == i386 || ${ARCH} == alpha || ${ARCH} == amd64
+RUN_DEPENDS+= ${X11BASE}/lib/modules/dri/r200_dri.so:${PORTSDIR}/graphics/dri
+.endif
FONT100DPI= ${X11BASE}/lib/X11/fonts/100dpi/UTBI__10-ISO8859-1.pcf.gz
FONT75DPI= ${X11BASE}/lib/X11/fonts/75dpi/UTBI__10-ISO8859-1.pcf.gz
@@ -54,7 +59,6 @@ DEPENDS_TARGET="package"
do-install: # empty
-.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xorg
IGNORE= is part of X.Org. For switching to X.Org, read UPDATING entry 20040723
.endif