summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-18 04:14:35 +0100
committerSam James <sam@gentoo.org>2022-08-18 04:14:35 +0100
commit6bbfad4d700c823bc9bc8e3d59bfdecd654f1943 (patch)
tree05cec79b05b992986783c7682f7f2df0b3586563 /app-emulation
parentdev-util/pkgdev: fix docs override (diff)
downloadgentoo-6bbfad4d700c823bc9bc8e3d59bfdecd654f1943.tar.gz
gentoo-6bbfad4d700c823bc9bc8e3d59bfdecd654f1943.tar.bz2
gentoo-6bbfad4d700c823bc9bc8e3d59bfdecd654f1943.zip
app-emulation/qemu: fix docs override
No functional change, just useful for building doc tarball. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/qemu/qemu-7.0.0-r3.ebuild3
-rw-r--r--app-emulation/qemu/qemu-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/app-emulation/qemu/qemu-7.0.0-r3.ebuild b/app-emulation/qemu/qemu-7.0.0-r3.ebuild
index e0be1218e152..5136fb92084e 100644
--- a/app-emulation/qemu/qemu-7.0.0-r3.ebuild
+++ b/app-emulation/qemu/qemu-7.0.0-r3.ebuild
@@ -6,7 +6,8 @@ EAPI=8
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-qemu-docs
# Set to 1 if prebuilt, 0 if not
# (the construct below is to allow overriding from env for script)
-QEMU_DOCS_PREBUILT=${QEMU_DOCS_PREBUILT:-1}
+: ${QEMU_DOCS_PREBUILT:=1}
+
QEMU_DOCS_PREBUILT_DEV=sam
QEMU_DOCS_VERSION=$(ver_cut 1-3)
# Default to generating docs (inc. man pages) if no prebuilt; overridden later
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild
index f10fc57e1950..e4f37bb04fdd 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -6,7 +6,8 @@ EAPI=8
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-qemu-docs
# Set to 1 if prebuilt, 0 if not
# (the construct below is to allow overriding from env for script)
-QEMU_DOCS_PREBUILT=${QEMU_DOCS_PREBUILT:-1}
+: ${QEMU_DOCS_PREBUILT:=1}
+
QEMU_DOCS_PREBUILT_DEV=sam
QEMU_DOCS_VERSION=$(ver_cut 1-3)
# Default to generating docs (inc. man pages) if no prebuilt; overridden later