commit: 1b2f58a768e8189b9e1b8eb76a3423288d8768c9 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> AuthorDate: Tue Mar 6 10:43:52 2018 +0000 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> CommitDate: Tue Mar 6 14:43:03 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b2f58a7
dev-util/lcov: prefix support Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/lcov/lcov-1.13-r1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-util/lcov/lcov-1.13-r1.ebuild b/dev-util/lcov/lcov-1.13-r1.ebuild index 94b261fb04b..687e3ec26ce 100644 --- a/dev-util/lcov/lcov-1.13-r1.ebuild +++ b/dev-util/lcov/lcov-1.13-r1.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit prefix + DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov" HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php" SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz" @@ -15,6 +17,13 @@ RDEPEND=" dev-lang/perl dev-perl/GD[png]" +src_prepare() { + default + if use prefix; then + hprefixify bin/*.{pl,sh} + fi +} + src_compile() { :; } src_install() {