summaryrefslogtreecommitdiff
path: root/libraries/edelib/edelib.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-06-29 14:19:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-29 14:19:13 +0700
commit8b9bda102e2af00ec46416e3621586416dfec898 (patch)
tree5ffe587d36dce81cb278acef65b90922fb4de6ad /libraries/edelib/edelib.SlackBuild
parent3fd47ab341cfc0fe7dc879832e15b0fd124dbeee (diff)
downloadslackbuilds-8b9bda102e2af00ec46416e3621586416dfec898.tar.gz
libraries/edelib: Fix compatibility with new fltk13.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/edelib/edelib.SlackBuild')
-rw-r--r--libraries/edelib/edelib.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/libraries/edelib/edelib.SlackBuild b/libraries/edelib/edelib.SlackBuild
index bc0c24fef2..4fdb6a6bb2 100644
--- a/libraries/edelib/edelib.SlackBuild
+++ b/libraries/edelib/edelib.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=edelib
VERSION=${VERSION:-2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,7 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}/fltk13" \
+patch -p1 < $CWD/edelib.patch
+LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
FLTK_CONFIG="/usr/bin/fltk13-config" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -80,7 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --with-fltk-path=/usr/lib${LIBDIRSUFFIX}/fltk13 \
+ --with-fltk-path=/usr/lib${LIBDIRSUFFIX}/ \
--enable-profile \
--enable-shared \
--enable-largefile \