pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/wayland wayland: Add platform.mk, based on rust's.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e2e05e8a74d
branches:  trunk
changeset: 400504:5e2e05e8a74d
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Aug 29 12:04:38 2019 +0000

description:
wayland: Add platform.mk, based on rust's.

diffstat:

 devel/wayland/platform.mk |  18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 9f54f07ce5c1 -r 5e2e05e8a74d devel/wayland/platform.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/wayland/platform.mk Thu Aug 29 12:04:38 2019 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: platform.mk,v 1.1 2019/08/29 12:04:38 nia Exp $
+
+.if !defined(PLATFORM_SUPPORTS_WAYLAND)
+
+# Please only add operating systems here after verifying that both
+# devel/wayland and devel/wayland-protocols build.
+.for _wayland_os in NetBSD
+WAYLAND_PLATFORMS+=            ${_wayland_os}-*-*
+.endfor
+
+.for _wayland_platform in ${WAYLAND_PLATFORMS}
+.if !empty(MACHINE_PLATFORM:M${_wayland_platform})
+PLATFORM_SUPPORTS_WAYLAND=     yes
+.endif
+.endfor
+PLATFORM_SUPPORTS_WAYLAND?=    no
+
+.endif # !defined(PLATFORM_SUPPORTS_WAYLAND)



Home | Main Index | Thread Index | Old Index