sys-block/open-iscsi: do not use ROOT in src_install
authorVictor Dodon <printesoi@chromium.org>
Thu, 17 Dec 2015 23:36:16 +0000 (18:36 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 18 Dec 2015 00:00:05 +0000 (19:00 -0500)
We do not want to use ROOT to control where sbin progs are installed.
Switch to EPREFIX instead.

sys-block/open-iscsi/open-iscsi-2.0.873.ebuild

index 53bf0ef9fb6213c6ca879d09f9436d9909bd28fe..43baf5276e4ab3a55b5e62195bd7ddc4ea84dfff 100644 (file)
@@ -69,7 +69,7 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" sbindir="${ROOT}usr/sbin/" install
+       emake DESTDIR="${ED}" sbindir="/usr/sbin" install
 
        dodoc README THANKS