summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-09-25 00:57:16 +0000
committertnn <tnn@pkgsrc.org>2015-09-25 00:57:16 +0000
commit86a4146c02517ce3a1c3d511518027b03a232132 (patch)
treec73020642dccc089b77cf4e40c6d9784b6a450e9
parent1262b73f10868d68f4682538804ef1f97a44f3e8 (diff)
downloadpkgsrc-86a4146c02517ce3a1c3d511518027b03a232132.tar.gz
provide MesaLib7 if that was requsted
-rw-r--r--x11/modular-xorg-server/buildlink3.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11/modular-xorg-server/buildlink3.mk b/x11/modular-xorg-server/buildlink3.mk
index e69b32b5171..a1993a6c30e 100644
--- a/x11/modular-xorg-server/buildlink3.mk
+++ b/x11/modular-xorg-server/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2015/04/25 11:47:03 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2015/09/25 00:57:16 tnn Exp $
BUILDLINK_TREE+= modular-xorg-server
@@ -23,8 +23,11 @@ BUILDLINK_DEPMETHOD.libpciaccess= full
.include "../../x11/compositeproto/buildlink3.mk"
.include "../../x11/dri2proto/buildlink3.mk"
+.include "../../x11/dri3proto/buildlink3.mk"
.include "../../x11/fontsproto/buildlink3.mk"
-.if empty(USE_OLD_MODULAR_XORG_SERVER:M[yY][eE][sS])
+.if !empty(USE_OLD_MODULAR_XORG_SERVER:M[yY][eE][sS])
+.include "../../graphics/MesaLib7/buildlink3.mk" # XXX should not be needed for non-dri build
+.else
.include "../../graphics/MesaLib/buildlink3.mk" # XXX should not be needed for non-dri build
.include "../../x11/resourceproto/buildlink3.mk"
.include "../../x11/scrnsaverproto/buildlink3.mk"