[arch-commits] Commit in imagemagick/trunk (PKGBUILD)
Eric Bélanger
eric at nymeria.archlinux.org
Sun Nov 3 00:24:39 UTC 2013
Date: Sunday, November 3, 2013 @ 01:24:39
Author: eric
Revision: 198748
upgpkg: imagemagick 6.8.7.4-2
Enforce -march value (close FS#37596)
Modified:
imagemagick/trunk/PKGBUILD
----------+
PKGBUILD | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-02 22:49:34 UTC (rev 198747)
+++ PKGBUILD 2013-11-03 00:24:39 UTC (rev 198748)
@@ -4,7 +4,7 @@
pkgbase=imagemagick
pkgname=('imagemagick' 'imagemagick-doc')
pkgver=6.8.7.4
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url="http://www.imagemagick.org/"
license=('custom')
@@ -27,12 +27,15 @@
build() {
cd ImageMagick-${pkgver%.*}-${pkgver##*.}
+ [[ $CARCH = "i686" ]] && EXTRAOPTS="-with-gcc-arch=i686"
+ [[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64"
+
./configure --prefix=/usr --sysconfdir=/etc --with-modules \
--enable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \
--with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
--with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \
--enable-opencl --without-gvc --without-djvu --without-autotrace \
- --without-jbig --without-fpx --without-dps --without-fftw
+ --without-jbig --without-fpx --without-dps --without-fftw $EXTRAOPTS
make
}
More information about the arch-commits
mailing list