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>
This commit is contained in:
David Spencer 2015-08-27 23:36:12 +01:00 committed by Willy Sudiarto Raharjo
parent 748441665b
commit 4ed8a0d25f

View file

@ -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 \