1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Check C programs for vulnerabilities and programming mistakes"
8 HOMEPAGE="http://lclint.cs.virginia.edu/"
9 SRC_URI="http://www.splint.org/downloads/${P}.src.tgz"
13 KEYWORDS="~alpha amd64 arm hppa ~ia64 ppc ppc64 sparc x86"
20 # verbose compiler calls
21 sed -i -e '/Compiling/d' src/Makefile.am || die
22 # automake complains about trailing \
23 sed -i -e '1600d' test/Makefile.am || die
24 # do not install these header files twice
25 sed -i -e '/\$(UnixHeaders)/s|stdio.h stdlib.h||g' lib/Makefile.am || die
31 # We do not need bison/yacc at all here
32 # We definitely need libfl
33 BISON=no LEXLIB=-lfl econf
39 for subdir in src lib imports doc; do
40 emake -j1 -C ${subdir}