x11-misc/xdotool: use directories for Prefix.
authorBenda Xu <heroxbd@gentoo.org>
Mon, 12 Mar 2018 06:08:45 +0000 (15:08 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 12 Mar 2018 06:09:20 +0000 (15:09 +0900)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

x11-misc/xdotool/xdotool-3.20160805.1.ebuild

index 08639af89e268daf20701488a8741c45be9fb0de..ab667f7dce1a06846bc8132143fd85ebeb7b83da 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -44,11 +44,11 @@ src_prepare() {
 src_compile() {
        tc-export CC LD PKG_CONFIG
 
-       emake PREFIX="/usr"
+       emake PREFIX="${EPREFIX}/usr"
 }
 
 src_install() {
-       emake PREFIX="${D}usr" INSTALLMAN="${D}usr/share/man" INSTALLLIB="${D}usr/$(get_libdir)" install
+       emake PREFIX="${ED}usr" INSTALLMAN="${ED}usr/share/man" INSTALLLIB="${ED}usr/$(get_libdir)" install
 
        dodoc CHANGELIST README
        if use examples; then