Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/libepoxy ensure PLATFORM_HAS_EGL and E...



details:   https://anonhg.NetBSD.org/src/rev/1485c46a9ff4
branches:  trunk
changeset: 956597:1485c46a9ff4
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Nov 02 06:25:24 2020 +0000

description:
ensure PLATFORM_HAS_EGL and ENABLE_EGL are set consistently.

diffstat:

 external/mit/xorg/lib/libepoxy/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 268c530800cf -r 1485c46a9ff4 external/mit/xorg/lib/libepoxy/Makefile
--- a/external/mit/xorg/lib/libepoxy/Makefile   Mon Nov 02 04:48:54 2020 +0000
+++ b/external/mit/xorg/lib/libepoxy/Makefile   Mon Nov 02 06:25:24 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2020/11/02 04:48:54 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2020/11/02 06:25:24 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -17,11 +17,12 @@
 SRCS+= \
        dispatch_egl.c \
        egl_generated_dispatch.c
-CPPFLAGS+=     -DENABLE_EGL=1
 EGL=1
 .else
 EGL=0
 .endif
+CPPFLAGS+=     -DPLATFORM_HAS_EGL=${EGL}
+CPPFLAGS+=     -DENABLE_EGL=${EGL}
 
 INCSDIR=${X11INCDIR}/epoxy
 INCS= \



Home | Main Index | Thread Index | Old Index