aboutsummaryrefslogtreecommitdiff
path: root/network/dovecot/dovecot.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/dovecot/dovecot.SlackBuild')
-rw-r--r--network/dovecot/dovecot.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild
index 40354ad00176..a2bc3ae18076 100644
--- a/network/dovecot/dovecot.SlackBuild
+++ b/network/dovecot/dovecot.SlackBuild
@@ -21,14 +21,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="dovecot"
-VERSION="1.1.3"
+VERSION="1.1.15"
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG="$TMP/pkg-$PRGNAM"
+PKG="$TMP/package-$PRGNAM"
OUTPUT=${OUTPUT:-/tmp}
# Bail if user isn't valid on your system
@@ -43,9 +43,14 @@ fi
set -e
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -61,6 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--sysconfdir=/etc \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--localstatedir=/var \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-header-install \