diff options
author | Alan Hicks <alan@lizella.net> | 2010-05-12 17:43:12 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:43:12 +0200 |
commit | fb35940476ee8f2a8d9487bdb922c227d36a62df (patch) | |
tree | 687e62f90e7aceb52136790397ce112f7cc152e4 /network/dovecot/dovecot.SlackBuild | |
parent | 2c62aafd02320e112a98cef467fca6f1216d4a4c (diff) | |
download | slackbuilds-fb35940476ee8f2a8d9487bdb922c227d36a62df.tar.gz |
network/dovecot: Updated for version 1.1.15
Diffstat (limited to 'network/dovecot/dovecot.SlackBuild')
-rw-r--r-- | network/dovecot/dovecot.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/network/dovecot/dovecot.SlackBuild b/network/dovecot/dovecot.SlackBuild index 40354ad001..a2bc3ae180 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 \ |