diff options
-rw-r--r-- | main/imagemagick/APKBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD index 4fa49b79c..07e122f52 100644 --- a/main/imagemagick/APKBUILD +++ b/main/imagemagick/APKBUILD @@ -26,6 +26,9 @@ prepare() { } build() { + local _pic="" + [ "$CARCH" = "x86" ] && _pic="--disable-pic" + cd "$srcdir/ImageMagick-${_pkgver}" # fix doc dir, Gentoo bug 91911 @@ -45,6 +48,7 @@ build() { --with-gslib \ --with-gs-font-dir=/usr/share/fonts/Type1 \ --with-modules \ + $_pic || return 1 make || return 1 } |