app-emulation/rkt: use forward-vars for get_lkvm_sources makefile target
authorZac Medico <zmedico@gentoo.org>
Thu, 3 Mar 2016 17:00:55 +0000 (09:00 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 3 Mar 2016 17:00:55 +0000 (09:00 -0800)
Package-Manager: portage-2.2.27

app-emulation/rkt/rkt-1.1.0.ebuild

index 76a3b61801f9a566bc4185a9329dc42affc7d409..309c760b441ccb26735994b3a29fd449bb7e4fd5 100644 (file)
@@ -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'\