aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 58a441f1f8dc..4d1df49cd366 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