pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib MesaLib: glesv2 detection
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc27e2828d23
branches: trunk
changeset: 339023:fc27e2828d23
user: nia <nia%pkgsrc.org@localhost>
date: Wed Sep 04 10:56:50 2019 +0000
description:
MesaLib: glesv2 detection
diffstat:
graphics/MesaLib/buildlink3.mk | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 47839b3a7890 -r fc27e2828d23 graphics/MesaLib/buildlink3.mk
--- a/graphics/MesaLib/buildlink3.mk Wed Sep 04 08:32:16 2019 +0000
+++ b/graphics/MesaLib/buildlink3.mk Wed Sep 04 10:56:50 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.62 2019/08/30 17:07:59 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.63 2019/09/04 10:56:50 nia Exp $
BUILDLINK_TREE+= MesaLib
@@ -20,6 +20,7 @@
.if ${X11_TYPE} == "modular"
MESALIB_SUPPORTS_OSMESA= yes
+MESALIB_SUPPORTS_GLESv2= yes
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin" && ${OPSYS} != "SunOS"
MESALIB_SUPPORTS_EGL= yes
. else
@@ -36,6 +37,11 @@
. else
MESALIB_SUPPORTS_OSMESA= no
. endif
+. if exists(${X11BASE}/include/GLES2/gl2.h)
+MESALIB_SUPPORTS_GLESv2= yes
+. else
+MESALIB_SUPPORTS_GLESv2= no
+. endif
.endif
.include "../../mk/pkg-build-options.mk"
Home |
Main Index |
Thread Index |
Old Index