sys-apps/dstat: fix src_install() for prefix
authorGuilherme Amadio <amadio@gentoo.org>
Tue, 22 Oct 2019 08:18:33 +0000 (10:18 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Tue, 22 Oct 2019 08:24:30 +0000 (10:24 +0200)
Using 'default' as done in the version bump made files get
installed outside the prefix, directly into /usr.

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
sys-apps/dstat/dstat-0.7.4.ebuild

index 66bbf59ec4a384ade23f19b782c299a51ee0eb32..491efbdb32a438b1cedfd5af18fb7a8a532c6311 100644 (file)
@@ -40,7 +40,8 @@ src_prepare() {
 }
 
 src_install() {
-       default
+       emake DESTDIR="${ED}"
+       einstalldocs
 
        if use examples; then
                dodoc examples/{mstat,read}.py