summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-01 09:24:05 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-04-01 09:24:05 +0000
commitb70fffd6d8b1c2f51d8f5be621a173eda112974a (patch)
tree44a48c1f91141bb41e761a910789e3fe476d5b5c /Makefile
parentb4fca0f2a5af27294bd432cffe3e5204e41f0804 (diff)
Don't build kdrive if pixman isn't built.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 355e6e75d..7c71d4565 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
-# $OpenBSD: Makefile,v 1.44 2012/02/07 19:54:55 matthieu Exp $
+# $OpenBSD: Makefile,v 1.45 2012/04/01 09:24:04 matthieu Exp $
.include <bsd.own.mk>
+.include <bsd.xconf.mk>
LOCALAPPD=/usr/local/lib/X11/app-defaults
LOCALAPPX=/usr/local/lib/X11
@@ -11,7 +12,7 @@ RM?=rm
XSERVER= xserver
.endif
-.if ${COMPILER_VERSION:L:Mgcc[34]*}
+.if ${COMPILER_VERSION:L:Mgcc[34]*} && ${XENOCARA_BUILD_PIXMAN:L} == "yes"
XSERVER+= kdrive
.endif