aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-15 22:53:22 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:45:36 -0400
commitca5269f3899c741a32333c3efd9d83a2a4d1f12c (patch)
tree4711a392154edf7ab4dff40c9dd7c43c5a77d9f2 /graphics
parent38dea0e2dcc6a4cd7ef3d6586e245b64f1b075cf (diff)
graphics/tuxpaint: Fixed build - explicitly linked libpng.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/tuxpaint/tuxpaint.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild
index 7118d2e8300ef..9cdf160e3b1c8 100644
--- a/graphics/tuxpaint/tuxpaint.SlackBuild
+++ b/graphics/tuxpaint/tuxpaint.SlackBuild
@@ -3,11 +3,11 @@
# Slackware build script for tuxpaint
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
-
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=tuxpaint
VERSION=${VERSION:-0.9.21}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -57,6 +57,9 @@ find . \
# Create a more util Makefile
patch -p1 < $CWD/patch.diff
+# Explicitly link libpng
+sed -i 's/$(ARCH_LINKS)/$(ARCH_LINKS) -lpng/' Makefile
+
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX OPTFLAGS="$SLKCFLAGS"
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG install
mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new