Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 778467 | Differences between
and this patch

Collapse All | Expand All

(-)a/dev-util/cppcheck/cppcheck-2.2.ebuild (-5 / +4 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=7
4
EAPI=7
Lines 41-48 src_configure() { Link Here
41
		-DHAVE_RULES="$(usex pcre)"
41
		-DHAVE_RULES="$(usex pcre)"
42
		-DBUILD_GUI="$(usex qt5)"
42
		-DBUILD_GUI="$(usex qt5)"
43
		-DUSE_Z3="$(usex z3)"
43
		-DUSE_Z3="$(usex z3)"
44
		-DFILESDIR="${EROOT}/usr/share/${PN}/"
44
		-DFILESDIR="${ROOT%/}${EPREFIX}/usr/share/${PN}/"
45
		-ENABLE_OSS_FUZZ=OFF
45
		-DENABLE_OSS_FUZZ=OFF
46
	)
46
	)
47
	cmake_src_configure
47
	cmake_src_configure
48
}
48
}
Lines 60-66 src_compile() { Link Here
60
src_install() {
60
src_install() {
61
	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
61
	# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
62
	emake install DESTDIR="${ED}" \
62
	emake install DESTDIR="${ED}" \
63
		FILESDIR="${EROOT}/usr/share/${PN}/"
63
		FILESDIR="${ROOT%/}${EPREFIX}/usr/share/${PN}/"
64
64
65
	insinto "/usr/share/${PN}/cfg"
65
	insinto "/usr/share/${PN}/cfg"
66
	doins cfg/*.cfg
66
	doins cfg/*.cfg
67
- 

Return to bug 778467