summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2019-09-01 20:38:34 +0000
committerdholland <dholland@pkgsrc.org>2019-09-01 20:38:34 +0000
commit5509c686f9599379e2f2f798cee76c40d1d1c033 (patch)
treebb3f3bba098cdea32b402afb3aac2b558aec40c5
parent025ca25f6c0004fe0c5b4395c17e4ef89f1c0b4e (diff)
downloadpkgsrc-5509c686f9599379e2f2f798cee76c40d1d1c033.tar.gz
Explicitly disable EGL if MESALIB_SUPPORTS_EGL isn't yes.
Otherwise, the build fails.
-rw-r--r--graphics/libepoxy/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile
index 96209c2ef36..fe21ce0c4f0 100644
--- a/graphics/libepoxy/Makefile
+++ b/graphics/libepoxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/08/31 13:50:09 nia Exp $
+# $NetBSD: Makefile,v 1.27 2019/09/01 20:38:34 dholland Exp $
DISTNAME= libepoxy-1.5.3
CATEGORIES= graphics
@@ -27,6 +27,8 @@ pre-configure:
.include "../../graphics/MesaLib/buildlink3.mk"
.if !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
PLIST.egl= yes
+.else
+CONFIGURE_ARGS+= --disable-egl
.endif
.include "options.mk"