pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/wayland



Module Name:    pkgsrc
Committed By:   maya
Date:           Sat Mar 28 08:58:25 UTC 2020

Modified Files:
        pkgsrc/devel/wayland: platform.mk

Log Message:
wayland: don't claim support on non-EGL platforms.

GTK3 expects wayland and EGL to come together. EGL isn't a requirement
for wayland, but not claiming support will possibly make life easier
on lesser-used platforms, and is certainly a good idea for the freeze.

"good for now" - nia

PR pkg/55117: gtk3 does not compile w/o EGL


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/wayland/platform.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/wayland/platform.mk
diff -u pkgsrc/devel/wayland/platform.mk:1.5 pkgsrc/devel/wayland/platform.mk:1.6
--- pkgsrc/devel/wayland/platform.mk:1.5        Sat Jan  4 02:06:02 2020
+++ pkgsrc/devel/wayland/platform.mk    Sat Mar 28 08:58:25 2020
@@ -1,13 +1,17 @@
-# $NetBSD: platform.mk,v 1.5 2020/01/04 02:06:02 nia Exp $
+# $NetBSD: platform.mk,v 1.6 2020/03/28 08:58:25 maya Exp $
 
 .if !defined(PLATFORM_SUPPORTS_WAYLAND)
 .  include "../../mk/bsd.fast.prefs.mk"
 
+.include "../../graphics/MesaLib/features.mk"
+
 # Please only add operating systems here after verifying that both
 # devel/wayland and devel/wayland-protocols build.
 WAYLAND_PLATFORMS+=            Linux-*-*
 
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
+# We can have Wayland without EGL, but a lot of things expect
+# wayland and EGL support together.
+.if ${OPSYS} == "NetBSD" && !empty(MESALIB_SUPPORTS_EGL:M[Yy][Ee][Ss])
 PLATFORM_SUPPORTS_WAYLAND=     yes
 .endif
 



Home | Main Index | Thread Index | Old Index