pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/wayland wayland: builds on netbsd>7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3059d50f5d2e
branches:  trunk
changeset: 407355:3059d50f5d2e
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 04 01:49:26 2020 +0000

description:
wayland: builds on netbsd>7

diffstat:

 devel/wayland/platform.mk |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 3afc0f11978c -r 3059d50f5d2e devel/wayland/platform.mk
--- a/devel/wayland/platform.mk Sat Jan 04 00:07:51 2020 +0000
+++ b/devel/wayland/platform.mk Sat Jan 04 01:49:26 2020 +0000
@@ -1,12 +1,15 @@
-# $NetBSD: platform.mk,v 1.3 2019/11/03 10:39:32 rillig Exp $
+# $NetBSD: platform.mk,v 1.4 2020/01/04 01:49:26 nia Exp $
 
 .if !defined(PLATFORM_SUPPORTS_WAYLAND)
+.  include "../../mk/bsd.fast.prefs.mk"
 
 # Please only add operating systems here after verifying that both
 # devel/wayland and devel/wayland-protocols build.
-.  for _wayland_os in NetBSD Linux
-WAYLAND_PLATFORMS+=            ${_wayland_os}-*-*
-.  endfor
+WAYLAND_PLATFORMS+=            Linux-*-*
+
+.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-7].*)
+PLATFORM_SUPPORTS_WAYLAND=     yes
+.endif
 
 .  for _wayland_platform in ${WAYLAND_PLATFORMS}
 .    if !empty(MACHINE_PLATFORM:M${_wayland_platform})



Home | Main Index | Thread Index | Old Index