diff options
Diffstat (limited to 'source/l/exiv2/exiv2.SlackBuild')
-rwxr-xr-x | source/l/exiv2/exiv2.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/l/exiv2/exiv2.SlackBuild b/source/l/exiv2/exiv2.SlackBuild index 6131dc02..1292eb18 100755 --- a/source/l/exiv2/exiv2.SlackBuild +++ b/source/l/exiv2/exiv2.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Copyright 2007 Frank Caraballo <fecaraballo{at}gmail{dot}com> -# Copyright 2008, 2009, 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2011, 2015 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -30,7 +30,7 @@ BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) export ARCH=i486 ;; + i?86) export ARCH=i586 ;; arm*) export ARCH=arm ;; # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-exiv2 NUMJOBS=${NUMJOBS:--j6} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" @@ -80,6 +80,8 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --enable-static=no \ --enable-xmp \ + --enable-video \ + --enable-webready \ --build=$ARCH-slackware-linux make $NUMJOBS || make || exit 1 |