commit:     bf791ec60b23dd8b450fe24c5ec8f50f08a85a19
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  3 17:00:55 2016 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Mar  3 17:00:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf791ec6

app-emulation/rkt: use forward-vars for get_lkvm_sources makefile target

Package-Manager: portage-2.2.27

 app-emulation/rkt/rkt-1.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/rkt/rkt-1.1.0.ebuild 
b/app-emulation/rkt/rkt-1.1.0.ebuild
index 76a3b61..309c760 100644
--- a/app-emulation/rkt/rkt-1.1.0.ebuild
+++ b/app-emulation/rkt/rkt-1.1.0.ebuild
@@ -82,9 +82,9 @@ src_prepare() {
        # disable git fetch of kvmtool
        sed -e 's|^include makelib/git.mk$|'\
 'ifneq ($(wildcard $(shell echo "$${WORKDIR}/kvmtool")),)\n\n'\
+'$(call forward-vars, get_lkvm_sources, LKVM_SRCDIR)\n'\
 'get_lkvm_sources: $(LKVM_TMPDIR)\n'\
-'\tmv "$${WORKDIR}/kvmtool" "$(_LKVM_SRCDIR)"\n\n'\
-'_LKVM_SRCDIR := $(LKVM_SRCDIR)\n\n'\
+'\tmv "$${WORKDIR}/kvmtool" "$(LKVM_SRCDIR)"\n\n'\
 '$(LKVM_PATCH_STAMP): get_lkvm_sources\n\n'\
 'else\n'\
 '\t\0\n'\

Reply via email to