summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-17 18:08:00 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:45 -0500
commit62ea8b09b7f02b92fe4233c4f8d7f205c01af2f8 (patch)
treec51b2f223052aa8198d09bc77c7ac0d334b25e80
parent9b43a13d9d66f708f419a359bb01378a3aa49a70 (diff)
downloadslackbuilds-62ea8b09b7f02b92fe4233c4f8d7f205c01af2f8.tar.gz
system/zarfy: Fixed underlinking
-rw-r--r--system/zarfy/zarfy.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/zarfy/zarfy.SlackBuild b/system/zarfy/zarfy.SlackBuild
index 60f97f63cc..5cfe2fa967 100644
--- a/system/zarfy/zarfy.SlackBuild
+++ b/system/zarfy/zarfy.SlackBuild
@@ -26,20 +26,18 @@
PRGNAM=zarfy
VERSION=0.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
-CWD=$(pwd)
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -76,6 +74,7 @@ find . \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="-lm -lX11" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \