kwindowsystem: build style cmake handles -isystem

This commit is contained in:
Jürgen Buchmüller 2017-01-15 12:17:32 +01:00
parent 3291670bed
commit 5b70dbffda

View file

@ -13,11 +13,6 @@ homepage="https://projects.kde.org/projects/frameworks/kwindowsystem"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=361eebfebc753019d3b507c5b758dfb878c032b41c9062930bc46239618e7fa5
post_configure() {
# Replace -isystem with -I to avoid "#include_next <stdlib.h>" file not found
find -name flags.make -exec sed -i "{}" -e "s;-isystem;-I;g" \;
}
kwindowsystem-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"