diff options
-rw-r--r-- | sys-boot/vboot-utils/vboot-utils-42_p20150219.ebuild | 7 |
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/* |