summaryrefslogtreecommitdiff
path: root/libraries/goffice/goffice.SlackBuild
diff options
context:
space:
mode:
authoralkos333 <me@alkos333.net>2010-05-12 17:40:46 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:40:46 +0200
commit66914e07956ab276b9b68942931d4e1e153cb22c (patch)
tree131d208fe3a6a27dc45011a741865cf6b10f876b /libraries/goffice/goffice.SlackBuild
parent780eef20ff4732c04a2fd11477f05834e52817a2 (diff)
downloadslackbuilds-66914e07956ab276b9b68942931d4e1e153cb22c.tar.gz
libraries/goffice: Updated for version 0.7.0
Diffstat (limited to 'libraries/goffice/goffice.SlackBuild')
-rw-r--r--libraries/goffice/goffice.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/goffice/goffice.SlackBuild b/libraries/goffice/goffice.SlackBuild
index 908332d2fc..7cb0d9b762 100644
--- a/libraries/goffice/goffice.SlackBuild
+++ b/libraries/goffice/goffice.SlackBuild
@@ -36,11 +36,14 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -61,6 +64,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \