Signed-off-by: Ulrich Müller <u...@gentoo.org>
---
 eclass/wrapper.eclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/eclass/wrapper.eclass b/eclass/wrapper.eclass
index 8cde94979d1a..399c7cc269d4 100644
--- a/eclass/wrapper.eclass
+++ b/eclass/wrapper.eclass
@@ -9,8 +9,6 @@
 if [[ -z ${_WRAPPER_ECLASS} ]]; then
 _WRAPPER_ECLASS=1
 
-inherit eutils      # for emktemp
-
 # @FUNCTION: make_wrapper
 # @USAGE: <wrapper> <target> [chdir] [libpaths] [installpath]
 # @DESCRIPTION:
@@ -20,7 +18,7 @@ inherit eutils      # for emktemp
 # libpaths followed by optionally changing directory to chdir.
 make_wrapper() {
        local wrapper=$1 bin=$2 chdir=$3 libdir=$4 path=$5
-       local tmpwrapper=$(emktemp)
+       local tmpwrapper="${T}/tmp.wrapper.${wrapper##*/}"
        has "${EAPI:-0}" 0 1 2 && local EPREFIX=""
 
        (
-- 
2.28.0


Reply via email to