darktable: build style cmake handles -isystem

This commit is contained in:
Jürgen Buchmüller 2017-01-15 12:30:49 +01:00
parent 2c086f9f9a
commit 17b97f5fd4

View file

@ -21,8 +21,3 @@ depends="adwaita-icon-theme"
only_for_archs="i686 i686-musl x86_64 x86_64-musl aarch64 aarch64-musl"
distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz"
checksum=da843190f08e02df19ccbc02b9d1bef6bd242b81499494c7da2cccdc520e24fc
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" \;
}