summaryrefslogtreecommitdiffstats
path: root/slackware64-current/source/l/libtiff/libtiff.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'slackware64-current/source/l/libtiff/libtiff.SlackBuild')
-rwxr-xr-xslackware64-current/source/l/libtiff/libtiff.SlackBuild18
1 files changed, 4 insertions, 14 deletions
diff --git a/slackware64-current/source/l/libtiff/libtiff.SlackBuild b/slackware64-current/source/l/libtiff/libtiff.SlackBuild
index a84efd816..99f8eb324 100755
--- a/slackware64-current/source/l/libtiff/libtiff.SlackBuild
+++ b/slackware64-current/source/l/libtiff/libtiff.SlackBuild
@@ -26,7 +26,7 @@ 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 ) ;;
@@ -38,8 +38,8 @@ NUMJOBS=${NUMJOBS:-" -j7 "}
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
@@ -64,18 +64,7 @@ tar xvf $CWD/tiff-$VERSION.tar.?z* || exit 1
cd tiff-$VERSION
zcat $CWD/libtiff-am-version.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2012-4447.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2012-4564.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-printdir-width.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-jpeg-test.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-1960.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-1961.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-manpage-update.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-4231.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-4232.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-4244.patch.gz | patch -p1 --verbose || exit 1
zcat $CWD/libtiff-make-check.patch.gz | patch -p1 --verbose || exit 1
-zcat $CWD/libtiff-CVE-2013-4243.patch.gz | patch -p1 --verbose || exit 1
chown -R root:root .
find . \
@@ -89,6 +78,7 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
+ --disable-static \
--program-prefix="" \
--program-suffix="" \
--build=$ARCH-slackware-linux