From ca5269f3899c741a32333c3efd9d83a2a4d1f12c Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 15 Sep 2012 22:53:22 -0500 Subject: [PATCH] graphics/tuxpaint: Fixed build - explicitly linked libpng. Signed-off-by: Robby Workman --- graphics/tuxpaint/tuxpaint.SlackBuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/graphics/tuxpaint/tuxpaint.SlackBuild b/graphics/tuxpaint/tuxpaint.SlackBuild index 7118d2e830..9cdf160e3b 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 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