summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-18 06:55:00 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-18 19:32:38 -0500
commit6757465e42f14b869d018b94b76bd0eeddfe6475 (patch)
tree536882e32a68a78dd4aca62274808993414281b9 /desktop
parent2c57ac091013da8b49b648122151cf616428f588 (diff)
downloadslackbuilds-6757465e42f14b869d018b94b76bd0eeddfe6475.tar.gz
desktop/wmcliphist: Fixed underlinking
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmcliphist/wmcliphist.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/desktop/wmcliphist/wmcliphist.SlackBuild b/desktop/wmcliphist/wmcliphist.SlackBuild
index 58a441f1f8..4d1df49cd3 100644
--- a/desktop/wmcliphist/wmcliphist.SlackBuild
+++ b/desktop/wmcliphist/wmcliphist.SlackBuild
@@ -6,15 +6,13 @@
PRGNAM=wmcliphist
VERSION=${VERSION:-1.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -51,7 +49,7 @@ cd $PRGNAM
chmod -R u+w,go+r-w,a-s .
chown -R root:root .
-make CFLAGS="$SLKCFLAGS \$(INCLUDES)"
+make CFLAGS="$SLKCFLAGS \$(INCLUDES)" LDFLAGS="-lX11"
mkdir -p $PKG/usr/bin
install -m 0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM