summaryrefslogtreecommitdiff
path: root/libraries/libvncserver/libvncserver.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:41:50 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:41:50 +0200
commit7f32355a8afee27af0d6e5155ab149459c6a468f (patch)
tree3c9a72d4889da69b893b22eced72a055e3c696d7 /libraries/libvncserver/libvncserver.SlackBuild
parenta86dce83ef4bca8b610631543e38d15c18464172 (diff)
downloadslackbuilds-7f32355a8afee27af0d6e5155ab149459c6a468f.tar.gz
libraries/libvncserver: Updated for version 0.9.7
Diffstat (limited to 'libraries/libvncserver/libvncserver.SlackBuild')
-rw-r--r--libraries/libvncserver/libvncserver.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/libvncserver/libvncserver.SlackBuild b/libraries/libvncserver/libvncserver.SlackBuild
index 3880ca1d9c..ba1de7c1c6 100644
--- a/libraries/libvncserver/libvncserver.SlackBuild
+++ b/libraries/libvncserver/libvncserver.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libvncserver
-# Copyright 2007 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2007-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libvncserver
-VERSION=0.9.1
+VERSION=0.9.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -57,7 +59,8 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG