diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:41:09 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:09 +0200 |
commit | da1f92080901ffcf7a549b09bf5507956dcdb85e (patch) | |
tree | ac3dd407f591f8f4e1cc7bb24677fe7f49c6255c /libraries/libetpan/libetpan.SlackBuild | |
parent | 80ecb950b1b7d1764c574a4cdff536c8cc74663b (diff) | |
download | slackbuilds-da1f92080901ffcf7a549b09bf5507956dcdb85e.tar.gz |
libraries/libetpan: Updated for version 0.57
Diffstat (limited to 'libraries/libetpan/libetpan.SlackBuild')
-rw-r--r-- | libraries/libetpan/libetpan.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libetpan/libetpan.SlackBuild b/libraries/libetpan/libetpan.SlackBuild index 8af5b94373..d8a607da94 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 |