liblxqt: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-01-02 21:56:13 +01:00
parent 5b9bc9dafb
commit edb6306340
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ homepage="http://lxqt.org/"
distfiles="https://github.com/lxde/liblxqt/releases/download/${version}/liblxqt-${version}.tar.xz"
checksum=487dc42ceb611f53024c531d5550bd0d4fe8cbfe3dbf3711faba5db6ee6d415d
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" \;
}
liblxqt-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"