summaryrefslogtreecommitdiffstats
path: root/desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild')
-rw-r--r--desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild b/desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild
index ca2e896361..93dbb0548b 100644
--- a/desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild
+++ b/desktop/xfce4-fsguard-plugin/xfce4-fsguard-plugin.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-fsguard-plugin
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# 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=xfce4-fsguard-plugin
-VERSION=0.4.0
+VERSION=0.4.2
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
@@ -60,7 +62,8 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--enable-shared=yes \
--enable-static=no \
- --enable-debug=no
+ --enable-debug=no \
+ --build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG