diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/tuxpaint/tuxpaint.SlackBuild | 7 |
1 files 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 <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 |