summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-09-07 02:12:22 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-09-07 02:12:22 +0000
commitd9e91764d1f993663f10d9c21a52d22672915a17 (patch)
tree314e1f0f767d7dab9a174b8dca4f162ac472cf36
parentbc5f679e057eea3e031724653076ae3884d2cc4d (diff)
make an if statement work as intended
fixes build breakage on alpha reported by todd and naddy
-rw-r--r--lib/libGL/gallium/drivers/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libGL/gallium/drivers/Makefile b/lib/libGL/gallium/drivers/Makefile
index 0bdb9ba5d..fd6ddfe07 100644
--- a/lib/libGL/gallium/drivers/Makefile
+++ b/lib/libGL/gallium/drivers/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2013/09/05 15:27:58 jsg Exp $
+# $OpenBSD: Makefile,v 1.8 2013/09/07 02:12:21 jsg Exp $
.include <bsd.xconf.mk>
SUBDIR= rbug softpipe trace
@@ -7,9 +7,10 @@ SUBDIR= rbug softpipe trace
SUBDIR+= llvmpipe radeonsi
.endif
-.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" && \
+.if ((${XENOCARA_BUILD_GALLIUM:L} == "yes" || \
+ ${XENOCARA_BUILD_GALLIUM} == "llvm") && \
(${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || \
- ${MACHINE} == sparc64)
+ ${MACHINE} == sparc64))
SUBDIR+= r300 r600
.endif