From d6456d27f08bf36829217ab89e81365ab694cdd5 Mon Sep 17 00:00:00 2001 From: Guilherme Amadio Date: Tue, 29 Aug 2017 15:40:31 +0200 Subject: dev-util/qmtest: add prefix support Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-util/qmtest/qmtest-2.4.1-r1.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'dev-util') diff --git a/dev-util/qmtest/qmtest-2.4.1-r1.ebuild b/dev-util/qmtest/qmtest-2.4.1-r1.ebuild index 1f4a13ccb8a1..93ad4a8feb92 100644 --- a/dev-util/qmtest/qmtest-2.4.1-r1.ebuild +++ b/dev-util/qmtest/qmtest-2.4.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="http://www.codesourcery.com/public/${PN}/${P}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~mips x86" +KEYWORDS="amd64 ~mips x86 ~amd64-linux ~x86-linux" IUSE="" DEPEND="" @@ -26,8 +26,8 @@ pkg_setup() { src_install() { distutils-r1_src_install - find "${D}" -name config.py -print0 | xargs -0 sed -i "s:${D}:/usr:" - rm -r "${D}"usr/share/doc/${PN}/{COPYING,LICENSE.OPL} || die - mv "${D}"usr/share/doc/${PN}/* "${D}"usr/share/doc/${PF} || die - rm -r "${D}"/usr/share/doc/${PN} || die + find "${ED}" -name config.py -print0 | xargs -0 sed -i "s:${ED}:${EPREFIX}/usr:" + rm -r "${ED}"usr/share/doc/${PN}/{COPYING,LICENSE.OPL} || die + mv "${ED}"usr/share/doc/${PN}/* "${ED}"usr/share/doc/${PF} || die + rm -r "${ED}"/usr/share/doc/${PN} || die } -- cgit v1.2.3-65-gdbad