summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-09-14 21:21:47 -0700
committerZac Medico <zmedico@gentoo.org>2015-09-14 21:22:16 -0700
commit677fe97fc7adb186a371971c8f3c2d3d2fd07f8e (patch)
treefdb7df7cd5a8e8f98bacb2efee4855830e5a38d5 /sys-boot/vboot-utils
parentwww-client/vivaldi: Add path to libpepflashplayer from www-plugins/chrome-bin... (diff)
downloadgentoo-677fe97fc7adb186a371971c8f3c2d3d2fd07f8e.tar.gz
gentoo-677fe97fc7adb186a371971c8f3c2d3d2fd07f8e.tar.bz2
gentoo-677fe97fc7adb186a371971c8f3c2d3d2fd07f8e.zip
sys-boot/vboot-utils: fix 42_p20150219 /usr/usr prefix for bug 553924
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sys-boot/vboot-utils')
-rw-r--r--sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild b/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild
index de2fbd230776..2a6b0cdb9d81 100644
--- a/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild
+++ b/sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild
@@ -37,6 +37,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-cgpt-static.patch
sed -i \
-e 's: -Werror : :g' \
+ -e 's:${DESTDIR}/\(bin\|${LIBDIR}\):${DESTDIR}/usr/\1:g' \
+ -e 's:${DESTDIR}/default:${DESTDIR}/etc/default:g' \
Makefile || die
}
@@ -64,10 +66,7 @@ src_test() {
}
src_install() {
- _emake DESTDIR="${ED}/usr" install
- if ! use minimal ; then
- rm -r "${ED}"/usr/default || die
- fi
+ _emake DESTDIR="${ED}" install
insinto /usr/share/vboot/devkeys
doins tests/devkeys/*