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: nia
Date: Thu Aug 29 12:04:38 UTC 2019
Added Files:
pkgsrc/devel/wayland: platform.mk
Log Message:
wayland: Add platform.mk, based on rust's.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/wayland/platform.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/devel/wayland/platform.mk
diff -u /dev/null pkgsrc/devel/wayland/platform.mk:1.1
--- /dev/null Thu Aug 29 12:04:38 2019
+++ pkgsrc/devel/wayland/platform.mk Thu Aug 29 12:04:38 2019
@@ -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