From 5c12b485d94a4e670e3874ef15bc277384bfc6e7 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 28 Sep 2023 02:21:31 +0100 Subject: app-emulation/qemu: don't conditionally define phase Signed-off-by: Sam James --- app-emulation/qemu/qemu-9999.ebuild | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'app-emulation/qemu') diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild index de4d90b78216..1f63912672aa 100644 --- a/app-emulation/qemu/qemu-9999.ebuild +++ b/app-emulation/qemu/qemu-9999.ebuild @@ -446,20 +446,22 @@ check_targets() { popd >/dev/null } -if [[ ${PV} == 9999 ]]; then src_unpack() { - git-r3_src_unpack - for file in ${A}; do - unpack "${file}" - done - cd ${WORKDIR} || die - for proj in "${!SUBPROJECTS[@]}"; do - mv "${proj}-${SUBPROJECTS[${proj}]}" "${S}/subprojects/${proj}" || die - done - cd "${S}" || die - meson subprojects packagefiles --apply || die + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + for file in ${A}; do + unpack "${file}" + done + cd "${WORKDIR}" || die + for proj in "${!SUBPROJECTS[@]}"; do + mv "${proj}-${SUBPROJECTS[${proj}]}" "${S}/subprojects/${proj}" || die + done + cd "${S}" || die + meson subprojects packagefiles --apply || die + else + default + fi } -fi src_prepare() { check_targets IUSE_SOFTMMU_TARGETS softmmu -- cgit v1.2.3-65-gdbad