diff options
author | tnn <tnn> | 2015-05-28 21:09:07 +0000 |
---|---|---|
committer | tnn <tnn> | 2015-05-28 21:09:07 +0000 |
commit | 8b1cb580a66ea9d14763166307458255492569d6 (patch) | |
tree | e1fb532f4378bcfc8dac75c996a57a0243716691 /graphics | |
parent | 419cd31bb5756a64c6eafa58c16b7ea24a6cd33d (diff) | |
download | pkgsrc-8b1cb580a66ea9d14763166307458255492569d6.tar.gz |
PR pkg/49923: pull in libxshmfence via bl3 for Linux.
Needed for linking packages that use gl.pc because it lists libxshmfence
as dependency.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/dri.mk | 8 | ||||
-rw-r--r-- | graphics/MesaLib/options.mk | 5 |
2 files changed, 8 insertions, 5 deletions
diff --git a/graphics/MesaLib/dri.mk b/graphics/MesaLib/dri.mk index e300b06ba5e..55acda510e8 100644 --- a/graphics/MesaLib/dri.mk +++ b/graphics/MesaLib/dri.mk @@ -1,4 +1,4 @@ -# $NetBSD: dri.mk,v 1.8 2014/03/14 07:19:36 obache Exp $ +# $NetBSD: dri.mk,v 1.9 2015/05/28 21:09:07 tnn Exp $ # # Currently, this is for convenience only. # @@ -25,4 +25,10 @@ BUILDLINK_API_DEPENDS.libdrm+= libdrm>=2.4.24 . include "../../x11/libXxf86vm/buildlink3.mk" . include "../../x11/xf86driproto/buildlink3.mk" . include "../../x11/xf86vidmodeproto/buildlink3.mk" +# Linux supports dri3 +. if ${OPSYS} == "Linux" +. include "../../x11/dri3proto/buildlink3.mk" +. include "../../x11/presentproto/buildlink3.mk" +. include "../../x11/libxshmfence/buildlink3.mk" +. endif .endif diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk index d989c979deb..cc7dfbb12c0 100644 --- a/graphics/MesaLib/options.mk +++ b/graphics/MesaLib/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.31 2015/04/29 14:36:36 tnn Exp $ +# $NetBSD: options.mk,v 1.32 2015/05/28 21:09:07 tnn Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib PKG_SUPPORTED_OPTIONS= llvm dri @@ -40,9 +40,6 @@ BUILDLINK_DEPMETHOD.libpciaccess= full # Linux supports dri3 .if ${OPSYS} == "Linux" -.include "../../x11/dri3proto/buildlink3.mk" -.include "../../x11/presentproto/buildlink3.mk" -.include "../../x11/libxshmfence/buildlink3.mk" CONFIGURE_ARGS+= --enable-dri3 # DRI on Linux needs either sysfs or udev CONFIGURE_ARGS+= --enable-sysfs |