aboutsummaryrefslogtreecommitdiff
path: root/libraries/libetpan/libetpan.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:41:09 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:09 +0200
commitda1f92080901ffcf7a549b09bf5507956dcdb85e (patch)
treeac3dd407f591f8f4e1cc7bb24677fe7f49c6255c /libraries/libetpan/libetpan.SlackBuild
parent80ecb950b1b7d1764c574a4cdff536c8cc74663b (diff)
libraries/libetpan: Updated for version 0.57
Diffstat (limited to 'libraries/libetpan/libetpan.SlackBuild')
-rw-r--r--libraries/libetpan/libetpan.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild
index 8af5b9437343d..d8a607da94092 100644
--- a/libraries/libetpan/libetpan.SlackBuild
+++ b/libraries/libetpan/libetpan.SlackBuild
@@ -16,8 +16,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -eu
@@ -35,7 +40,8 @@ CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --localstatedir=/var/lib \
+ --localstatedir=/var \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--build=$ARCH-slackware-linux