pkgsrc/x11/qt5-qtwayland/patches/patch-features_wayland-scanner-client-wayland-protocol-include.prf
nia ad28b726ed Add x11/qt5-qtwayland.
Qt5 module for Wayland support

Note: while it does seem silly to have this in the X11 category, it's for
consistency with other core qt5 packages.
2019-10-28 21:35:43 +00:00

15 lines
682 B
Text

$NetBSD: patch-features_wayland-scanner-client-wayland-protocol-include.prf,v 1.1 2019/10/28 21:35:43 nia Exp $
Fix path to QMAKE_WAYLAND_SCANNER.
--- features/wayland-scanner-client-wayland-protocol-include.prf.orig 2019-08-13 09:25:25.000000000 +0000
+++ features/wayland-scanner-client-wayland-protocol-include.prf
@@ -10,7 +10,7 @@
# #include <QtWaylandClient/private/wayland-wayland-client-protocol.h>
# to the wayland-scanner generated files.
-isEmpty(QMAKE_WAYLAND_SCANNER):error("QMAKE_WAYLAND_SCANNER not defined for this mkspec")
+QMAKE_WAYLAND_SCANNER = @PREFIX@/bin/wayland-scanner
!isEmpty(MODULE_INCNAME) {
WAYLAND_INCLUDE_DIR = $$MODULE_INCNAME/private