From 71cc21c6f9006d17337f2c932aaf15a12c47fa83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 22 Dec 2017 01:06:34 +0100 Subject: [PATCH] kdelibs: nocross FIXME: cross builds fail even with required dependencies installed after building plasma_automoc. --- srcpkgs/kdelibs/template | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/srcpkgs/kdelibs/template b/srcpkgs/kdelibs/template index 9968244d49..7c36effb18 100644 --- a/srcpkgs/kdelibs/template +++ b/srcpkgs/kdelibs/template @@ -25,9 +25,16 @@ makedepends="libressl-devel libSM-devel libXext-devel libXScrnSaver-devel libopenexr-devel media-player-info shared-mime-info shared-desktop-ontologies" depends="docbook-xsl media-player-info shared-mime-info shared-desktop-ontologies hicolor-icon-theme ca-certificates" +nocross="Fails to build after plasma_automoc with cross dependencies installed" CXXFLAGS="-std=gnu++98 -Wno-deprecated-declarations" +if [ -n "$CROSS_BUILD" ]; then + # FIXME: still does not work + hostmakedepends+=" shared-mime-info qt-qmake qt-host-tools" + makedepends+=" docbook-xsl" +fi + pre_configure() { sed -i cmake/modules/FindKDE4Internal.cmake -e"s;_BSD_SOURCE;_DEFAULT_SOURCE;g" }