aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:45:00 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:45:00 +0200
commite2071910866951c04a0d429b09221ac1c556dcb5 (patch)
tree3d0fdf69cbe66222385aa39f2e8d380aaac3028d
parente21a3d2661b4333e03582c1d90bdccd9bf224645 (diff)
system/bogofilter: Updated for version 1.1.7
-rw-r--r--system/bogofilter/bogofilter.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/bogofilter/bogofilter.SlackBuild b/system/bogofilter/bogofilter.SlackBuild
index 19b3bdb5f7d1c..298bba8beb3cc 100644
--- a/system/bogofilter/bogofilter.SlackBuild
+++ b/system/bogofilter/bogofilter.SlackBuild
@@ -35,10 +35,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
rm -rf $PKG
@@ -58,6 +61,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \