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 handle @epoxy_has_glx@, @epox...



details:   https://anonhg.NetBSD.org/src/rev/5d9dcb3e59a3
branches:  trunk
changeset: 962286:5d9dcb3e59a3
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 10 21:32:22 2019 +0000

description:
handle @epoxy_has_glx@, @epoxy_has_egl@, and @epoxy_has_wgl@.

diffstat:

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

diffs (31 lines):

diff -r 79ce331cd1e8 -r 5d9dcb3e59a3 external/mit/xorg/lib/libepoxy/Makefile
--- a/external/mit/xorg/lib/libepoxy/Makefile   Wed Jul 10 19:51:14 2019 +0000
+++ b/external/mit/xorg/lib/libepoxy/Makefile   Wed Jul 10 21:32:22 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2019/07/09 22:12:40 mrg Exp $
+#      $NetBSD: Makefile,v 1.6 2019/07/10 21:32:22 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -18,6 +18,9 @@
        dispatch_egl.c \
        egl_generated_dispatch.c
 CPPFLAGS+=     -DPLATFORM_HAS_EGL=1
+EGL=1
+.else
+EGL=0
 .endif
 
 INCSDIR=${X11INCDIR}/epoxy
@@ -33,7 +36,10 @@
 
 PKGCONFIG=     epoxy
 PKGCONFIG_SED_FLAGS= \
-        -e "s,@DLOPEN_LIBS@,,"
+        -e "s,@DLOPEN_LIBS@,," \
+        -e "s,@epoxy_has_glx@,1," \
+        -e "s,@epoxy_has_egl@,${EGL}," \
+        -e "s,@epoxy_has_wgl@,0,"
 
 .include <bsd.x11.mk>
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index