diff --git a/srcpkgs/wayland/template b/srcpkgs/wayland/template index 8c1220e44e..b660dac733 100644 --- a/srcpkgs/wayland/template +++ b/srcpkgs/wayland/template @@ -20,7 +20,7 @@ if [ "$CROSS_BUILD" ]; then } post_configure() { # Use host wayland-scanner - sed -e 's,$(AM_V_GEN)$(wayland_scanner),wayland-scanner,g' -i src/Makefile.in + sed -e '/$(AM_V_GEN)/s,$(wayland_scanner),wayland-scanner,g' -i Makefile.in } fi