summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2020-12-04 15:11:24 +0100
committerGuilherme Amadio <amadio@gentoo.org>2020-12-05 15:54:10 +0100
commit604edcde867f02343888b64b2e08e8bea1cf23d0 (patch)
treee16a910054bb4a6e7d4d0322c539ae853a9b4314 /dev-util/cppcheck
parentdev-python/mkdocs-bootstrap: add py3_8 (diff)
downloadgentoo-604edcde867f02343888b64b2e08e8bea1cf23d0.tar.gz
gentoo-604edcde867f02343888b64b2e08e8bea1cf23d0.tar.bz2
gentoo-604edcde867f02343888b64b2e08e8bea1cf23d0.zip
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@gentoo.org>
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/cppcheck-2.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/cppcheck/cppcheck-2.2.ebuild b/dev-util/cppcheck/cppcheck-2.2.ebuild
index 4589cb21f5d9..b25286926e74 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