From 36bdc441d1a2fd1212729e8ba0486991e125d6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 7 Jan 2017 14:24:03 +0100 Subject: [PATCH] pcmanfm-qt: fix cross --- srcpkgs/pcmanfm-qt/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/pcmanfm-qt/template b/srcpkgs/pcmanfm-qt/template index 947503e5789..069e106a0f1 100644 --- a/srcpkgs/pcmanfm-qt/template +++ b/srcpkgs/pcmanfm-qt/template @@ -4,7 +4,7 @@ version=0.11.2 revision=2 build_style=cmake configure_args="-DPULL_TRANSLATIONS=0" -hostmakedepends="pkg-config" +hostmakedepends="pkg-config qt5-host-tools liblxqt-devel libfm-qt-devel" makedepends="lxqt-build-tools liblxqt-devel libfm-qt-devel" short_desc="LXQt pcmanfm Qt frontend" maintainer="Juan RP " @@ -12,3 +12,7 @@ homepage="http://www.lxqt.org" license="GPL-2" distfiles="https://github.com/lxde/pcmanfm-qt/releases/download/${version}/pcmanfm-qt-${version}.tar.xz" checksum=553c6e399fd8142c7a848e5231f512a0f2ae9e2518cbdfcac2fdb92a3f688629 + +post_configure() { + find -name flags.make -exec sed -i "{}" -e"s;-isystem;-I;g" \; +}