commit:     5c12b485d94a4e670e3874ef15bc277384bfc6e7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 28 01:21:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 01:21:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c12b485

app-emulation/qemu: don't conditionally define phase

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-emulation/qemu/qemu-9999.ebuild | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

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

Reply via email to