From 52adf303afa122e9334c5352b4d3ee2651944dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 7 Jan 2017 14:19:02 +0100 Subject: [PATCH] lxqt-session: fix cross --- srcpkgs/lxqt-session/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/lxqt-session/template b/srcpkgs/lxqt-session/template index 732654629ab..df3f1b2b2ae 100644 --- a/srcpkgs/lxqt-session/template +++ b/srcpkgs/lxqt-session/template @@ -4,7 +4,7 @@ version=0.11.1 revision=1 build_style=cmake configure_args="-DPULL_TRANSLATIONS=0" -hostmakedepends="pkg-config" +hostmakedepends="pkg-config qt5-host-tools liblxqt-devel xdg-user-dirs" makedepends="liblxqt-devel xdg-user-dirs" depends="xdg-user-dirs" short_desc="LXQt session handler" @@ -13,3 +13,7 @@ license="LGPL-2.1" homepage="http://lxqt.org/" distfiles="https://github.com/lxde/lxqt-session/releases/download/${version}/lxqt-session-${version}.tar.xz" checksum=16bb429fb6fb7149d97bd6ee8a46abd1d9b01444f09db31601c7265ed2cd6f76 + +post_configure() { + find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \; +}