summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-02 20:05:36 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-04-02 20:05:36 +0000
commit660bbea69a105d4ef91e1b751abe17767e0869d0 (patch)
treeddeb83f650be7f9a42192f883d5e4b7f371e63ab /lib/Makefile
parent28cbe0f2f3d96b5ed129c9db87c91c8f419f631e (diff)
Unconditionnaly build libdrm on i386 since the via driver needs some
bits of it. Noticed by naddy@.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 4917bcfca..df0286373 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2008/03/25 23:41:50 matthieu Exp $
+# $OpenBSD: Makefile,v 1.10 2008/04/02 20:05:35 matthieu Exp $
.include <bsd.xconf.mk>
@@ -11,7 +11,8 @@ SUBDIR= freetype fontconfig libxtrans libXau libXdmcp \
libXprintAppUtil libXrandr libXRes libXScrnSaver libXTrap \
libXtst libXv libXvMC libXxf86dga libXxf86misc libXxf86vm
-.if ${XENOCARA_BUILD_DRI:L} == "yes"
+# libdrm is needed by the via driver built on i386 only
+.if ${XENOCARA_BUILD_DRI:L} == "yes" || ${MACHINE} == "i386"
SUBDIR+= libdrm
.endif