diff options
author | nia <nia@pkgsrc.org> | 2019-09-04 10:56:50 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-09-04 10:56:50 +0000 |
commit | c6b59eb871900eb36714797f58a597a5647a90b1 (patch) | |
tree | 0ca24a33d1727013b11a4b31f876234a989583c0 /graphics | |
parent | 009eeb15ab82dbb107e963b48aa715f558c66765 (diff) | |
download | pkgsrc-c6b59eb871900eb36714797f58a597a5647a90b1.tar.gz |
MesaLib: glesv2 detection
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index 3c2f9f1eef3..8f876b66391 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -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" |