diff options
author | tnn <tnn@pkgsrc.org> | 2015-09-27 21:58:03 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-09-27 21:58:03 +0000 |
commit | a369875bd6fc7a29d80588efe21cf9c932173a92 (patch) | |
tree | 868e364773420ac3645d17dce7ca6e9972c2fc39 /graphics/MesaLib/dri.mk | |
parent | 65ff06cbaea5947785dd90e2a31df068a502b679 (diff) | |
download | pkgsrc-a369875bd6fc7a29d80588efe21cf9c932173a92.tar.gz |
Experimentally support building with X11_TYPE=modular on OS X. This targets
the Apple DRI platform instead of libpciaccess & libdrm. It is a step towards
packaging XQuartz and towards a future goal of migrating the platform away from
the so called "native" X11 which is no longer native by the usual definition.
Diffstat (limited to 'graphics/MesaLib/dri.mk')
-rw-r--r-- | graphics/MesaLib/dri.mk | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/graphics/MesaLib/dri.mk b/graphics/MesaLib/dri.mk index 1c1d0f935c3..1d06a8255cb 100644 --- a/graphics/MesaLib/dri.mk +++ b/graphics/MesaLib/dri.mk @@ -1,4 +1,4 @@ -# $NetBSD: dri.mk,v 1.14 2015/09/27 11:54:31 tnn Exp $ +# $NetBSD: dri.mk,v 1.15 2015/09/27 21:58:03 tnn Exp $ # # Currently, this is for convenience only. # @@ -14,7 +14,9 @@ CHECK_BUILTIN.MesaLib:= no . if !empty(USE_BUILTIN.MesaLib:M[Nn][Oo]) BUILDLINK_API_DEPENDS.dri2proto+= dri2proto>=2.1 BUILDLINK_API_DEPENDS.glproto+= glproto>=1.4.11 +. if ${OPSYS} != "Darwin" BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.38 +. endif . if ${OPSYS} == "Linux" BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.56 BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.9.3 @@ -24,15 +26,17 @@ BUILDLINK_API_DEPENDS.libxcb+= libxcb>=1.9.3 . include "../../x11/dri2proto/buildlink3.mk" # XXX these do not have builtin.mk . if ${X11_TYPE} == "modular" -. include "../../x11/dri3proto/buildlink3.mk" -. include "../../x11/libxshmfence/buildlink3.mk" -. include "../../x11/presentproto/buildlink3.mk" +. include "../../x11/dri3proto/buildlink3.mk" +. include "../../x11/libxshmfence/buildlink3.mk" +. include "../../x11/presentproto/buildlink3.mk" . endif . include "../../x11/glproto/buildlink3.mk" . include "../../x11/libXdamage/buildlink3.mk" . include "../../x11/libXfixes/buildlink3.mk" . include "../../x11/libXxf86vm/buildlink3.mk" -. include "../../x11/libdrm/buildlink3.mk" +. if ${OPSYS} != "Darwin" +. include "../../x11/libdrm/buildlink3.mk" +. endif . include "../../x11/xf86driproto/buildlink3.mk" . include "../../x11/xf86vidmodeproto/buildlink3.mk" . if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" |