commit:     4d6d100ebe64d84989d6adf0539a31213f39d752
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 20 06:51:33 2019 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:51:54 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6d100e

sys-apps/iproute2: fix files installed outside of prefix

DATADIR is for bash-completions, and HDRDIR for headers.

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

 sys-apps/iproute2/iproute2-5.2.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/iproute2/iproute2-5.2.0.ebuild 
b/sys-apps/iproute2/iproute2-5.2.0.ebuild
index 81245c6d74f..9033f5cd956 100644
--- a/sys-apps/iproute2/iproute2-5.2.0.ebuild
+++ b/sys-apps/iproute2/iproute2-5.2.0.ebuild
@@ -136,7 +136,9 @@ src_install() {
                LIBDIR="${EPREFIX}"/$(get_libdir) \
                SBINDIR="${EPREFIX}"/sbin \
                CONFDIR="${EPREFIX}"/etc/iproute2 \
+               DATADIR="${EPREFIX}"/usr/share \
                DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
+               HDRDIR="${EPREFIX}"/usr/include \
                MANDIR="${EPREFIX}"/usr/share/man \
                ARPDDIR="${EPREFIX}"/var/lib/arpd \
                install

Reply via email to