aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgnomeprint/libgnomeprint.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgnomeprint/libgnomeprint.SlackBuild')
-rw-r--r--libraries/libgnomeprint/libgnomeprint.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/libgnomeprint/libgnomeprint.SlackBuild b/libraries/libgnomeprint/libgnomeprint.SlackBuild
index 84ee369c4ff61..7d9ec02c7f721 100644
--- a/libraries/libgnomeprint/libgnomeprint.SlackBuild
+++ b/libraries/libgnomeprint/libgnomeprint.SlackBuild
@@ -25,7 +25,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=libgnomeprint
-VERSION=2.18.0
+VERSION=2.18.6
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -60,11 +63,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
--build=$ARCH-slackware-linux \
- --host=$ARCH-slackware-linux \
|| exit 1
make || exit 1