pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/MesaLib
Module Name: pkgsrc
Committed By: nia
Date: Wed Sep 4 10:56:50 UTC 2019
Modified Files:
pkgsrc/graphics/MesaLib: buildlink3.mk
Log Message:
MesaLib: glesv2 detection
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/graphics/MesaLib/buildlink3.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/MesaLib/buildlink3.mk
diff -u pkgsrc/graphics/MesaLib/buildlink3.mk:1.62 pkgsrc/graphics/MesaLib/buildlink3.mk:1.63
--- pkgsrc/graphics/MesaLib/buildlink3.mk:1.62 Fri Aug 30 17:07:59 2019
+++ pkgsrc/graphics/MesaLib/buildlink3.mk Wed Sep 4 10:56:50 2019
@@ -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 @@ pkgbase:= MesaLib
.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 @@ MESALIB_SUPPORTS_OSMESA= yes
. 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