From 660bbea69a105d4ef91e1b751abe17767e0869d0 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Wed, 2 Apr 2008 20:05:36 +0000 Subject: Unconditionnaly build libdrm on i386 since the via driver needs some bits of it. Noticed by naddy@. --- lib/Makefile | 5 +++-- 1 file 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 @@ -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 -- cgit v1.2.3