diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-29 01:26:04 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-29 01:26:04 -0300 |
commit | 7d5292673f74e3075ac8350f0537882258758b18 (patch) | |
tree | d6a6cea5ec2c92e10c8cff1fa88a414044ecdc2e /libre/openshadinglanguage-parabola/PKGBUILD | |
parent | a74b7ddeccd1d6e30ba43962b018b8202b4c0e88 (diff) | |
download | abslibre-7d5292673f74e3075ac8350f0537882258758b18.tar.gz abslibre-7d5292673f74e3075ac8350f0537882258758b18.tar.bz2 abslibre-7d5292673f74e3075ac8350f0537882258758b18.zip |
openshadinglanguage-parabola: remove testshade for 1.5 version
Diffstat (limited to 'libre/openshadinglanguage-parabola/PKGBUILD')
-rw-r--r-- | libre/openshadinglanguage-parabola/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libre/openshadinglanguage-parabola/PKGBUILD b/libre/openshadinglanguage-parabola/PKGBUILD index 058f03118..ce04f74c1 100644 --- a/libre/openshadinglanguage-parabola/PKGBUILD +++ b/libre/openshadinglanguage-parabola/PKGBUILD @@ -62,9 +62,11 @@ prepare() { build() { cd OpenShadingLanguage-Release-$pkgver - # Fails building this file on i686 - if [[ $CARCH == i686 ]]; then - sed -i "/src\/testshade/d" CMakeLists.txt + if [[ ${pkgver::3} == 1.5 ]]; then + # Fails building this file on i686 + if [[ $CARCH == i686 ]]; then + sed -i "/src\/testshade/d" CMakeLists.txt + fi fi cd src |