summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/pulseaudio.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-12 17:37:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:37:19 +0200
commitb99b1a03212725a7ed58104539b5db83029e0d56 (patch)
treefbde2cdb80ed5d5ffdf775f0932a8e070495f3dd /audio/pulseaudio/pulseaudio.SlackBuild
parent7c340c97564f9e9f6d609ab57e3aaa951e02322d (diff)
downloadslackbuilds-b99b1a03212725a7ed58104539b5db83029e0d56.tar.gz
audio/pulseaudio: Updated for version 0.9.10
Diffstat (limited to 'audio/pulseaudio/pulseaudio.SlackBuild')
-rw-r--r--audio/pulseaudio/pulseaudio.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/pulseaudio/pulseaudio.SlackBuild b/audio/pulseaudio/pulseaudio.SlackBuild
index f3d37cd74d..71ee977245 100644
--- a/audio/pulseaudio/pulseaudio.SlackBuild
+++ b/audio/pulseaudio/pulseaudio.SlackBuild
@@ -47,8 +47,13 @@ fi
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 -e
@@ -66,6 +71,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \