summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-17 19:44:26 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:34:12 -0500
commitb5182e351c83fef767d1e7cad7bc7922e0ce69b8 (patch)
tree774a3776d817f4c6b766aec31312eb7303a46465
parent56ddd84d05f01d96b6fd92eb87e44fe7af53682e (diff)
downloadslackbuilds-b5182e351c83fef767d1e7cad7bc7922e0ce69b8.tar.gz
network/driftnet: Fixed underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/driftnet/driftnet.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/driftnet/driftnet.SlackBuild b/network/driftnet/driftnet.SlackBuild
index 62eb79d826..a92ee5d3f4 100644
--- a/network/driftnet/driftnet.SlackBuild
+++ b/network/driftnet/driftnet.SlackBuild
@@ -4,7 +4,7 @@
PRGNAM=driftnet
VERSION=0.1.6_p20090401
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,7 +51,8 @@ find . \
# Clean up building with libpng14 - thanks Gentoo!
sed -i -e 's:png_set_gray_1_2_4_to_8:png_set_expand_gray_1_2_4_to_8:' png.c
-
+
+LDFLAGS="-lpng14" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
ARCH="$ARCH" \