summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/libepoxy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/libepoxy/Makefile b/graphics/libepoxy/Makefile
index 30df96c2523..b55be01a379 100644
--- a/graphics/libepoxy/Makefile
+++ b/graphics/libepoxy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/02/18 02:37:11 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2017/03/16 18:38:33 tron Exp $
DISTNAME= libepoxy-1.4
CATEGORIES= graphics
@@ -34,7 +34,7 @@ PLIST.glx= yes
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
. if ${OPSYS} == "Darwin"
-CONFIGURE_ARGS+= --enable-egl=yes
+CONFIGURE_ARGS+= --enable-egl=${MESALIB_SUPPORTS_EGL}
. if ${X11_TYPE} == "modular"
CPPFLAGS+= -DGLX_LIB=\"${PREFIX}/lib/libGL.dylib\"
. endif