mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
graphics/tuxpaint: Fixed build - explicitly linked libpng.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
38dea0e2dc
commit
ca5269f389
1 changed files with 5 additions and 2 deletions
|
@ -3,11 +3,11 @@
|
||||||
# Slackware build script for tuxpaint
|
# Slackware build script for tuxpaint
|
||||||
|
|
||||||
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
|
# Written by Pablo Santamaria (pablosantamaria@gmail.com)
|
||||||
|
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
|
|
||||||
PRGNAM=tuxpaint
|
PRGNAM=tuxpaint
|
||||||
VERSION=${VERSION:-0.9.21}
|
VERSION=${VERSION:-0.9.21}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
# Automatically determine the architecture we're building on:
|
||||||
|
@ -57,6 +57,9 @@ find . \
|
||||||
# Create a more util Makefile
|
# Create a more util Makefile
|
||||||
patch -p1 < $CWD/patch.diff
|
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 OPTFLAGS="$SLKCFLAGS"
|
||||||
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG install
|
make PREFIX=/usr LIBDIRSUFFIX=$LIBDIRSUFFIX DESTDIR=$PKG install
|
||||||
mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new
|
mv $PKG/etc/tuxpaint/tuxpaint.conf $PKG/etc/tuxpaint/tuxpaint.conf.new
|
||||||
|
|
Loading…
Reference in a new issue