summaryrefslogtreecommitdiff
path: root/network/claws-mail/claws-mail.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/claws-mail/claws-mail.SlackBuild')
-rw-r--r--network/claws-mail/claws-mail.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/network/claws-mail/claws-mail.SlackBuild b/network/claws-mail/claws-mail.SlackBuild
index a022e1437e..c624b9bb9c 100644
--- a/network/claws-mail/claws-mail.SlackBuild
+++ b/network/claws-mail/claws-mail.SlackBuild
@@ -4,7 +4,7 @@
# Written by Erik Hanson erik@slackbuilds.org
PRGNAM=claws-mail
-VERSION=3.6.1
+VERSION=3.7.1
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -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
@@ -37,6 +42,7 @@ CFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
--build=$ARCH-slackware-linux