commit:     604edcde867f02343888b64b2e08e8bea1cf23d0
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 14:11:24 2020 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sat Dec  5 14:54:10 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=604edcde

dev-util/cppcheck: fix double prefix in installed files

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 dev-util/cppcheck/cppcheck-2.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild 
b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 4589cb21f5d..b25286926e7 100644
--- a/dev-util/cppcheck/cppcheck-2.2.ebuild
+++ b/dev-util/cppcheck/cppcheck-2.2.ebuild
@@ -40,7 +40,7 @@ src_configure() {
                -DHAVE_RULES="$(usex pcre)"
                -DBUILD_GUI="$(usex qt5)"
                -DUSE_Z3="$(usex z3)"
-               -DFILESDIR="${EROOT}/usr/share/${PN}/"
+               -DFILESDIR="usr/share/${PN}/"
                -ENABLE_OSS_FUZZ=OFF
        )
        cmake-utils_src_configure
@@ -59,7 +59,7 @@ src_compile() {
 src_install() {
        # it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
        emake install DESTDIR="${ED}" \
-               FILESDIR="${EROOT}/usr/share/${PN}/"
+               FILESDIR="usr/share/${PN}/"
 
        insinto "/usr/share/${PN}/cfg"
        doins cfg/*.cfg

Reply via email to