aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-27 23:36:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit4ed8a0d25fb2565e0c4649667be81b6f9aca13b7 (patch)
tree7db36e76894e751dfcdf9e7e41f77d86489560e2
parent748441665b694bf752b1396053d7a402cba490bd (diff)
development/splint: Fixed to build with bison-3.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/splint/splint.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/development/splint/splint.SlackBuild b/development/splint/splint.SlackBuild
index d56fae50ab0b7..0bdcdbe71773f 100644
--- a/development/splint/splint.SlackBuild
+++ b/development/splint/splint.SlackBuild
@@ -67,7 +67,12 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
+# Fix for bison-3 (LDFLAGS doesn't work)
+sed -i \
+ -e 's/^LIBS = $/LIBS = -lfl/' \
+ src/Makefile
+
+make -j1
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \