summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-18 04:15:01 +0100
committerSam James <sam@gentoo.org>2022-08-18 04:15:01 +0100
commit3deed26b3259a962305414e179bc34f357f35d0b (patch)
treeb69edac1b5bcdbfbacb9f3f5afd9736f14f9c05a
parentapp-emulation/qemu: fix docs override (diff)
downloadgentoo-3deed26b.tar.gz
gentoo-3deed26b.tar.bz2
gentoo-3deed26b.zip
sys-libs/libunwind: fix docs override
No functional change, just useful for building doc tarball. Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--sys-libs/libunwind/libunwind-1.6.2-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
index 144c3e79cac5..007df2e2a734 100644
--- a/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
+++ b/sys-libs/libunwind/libunwind-1.6.2-r1.ebuild
@@ -6,7 +6,8 @@ EAPI=8
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-libunwind-docs
# Set to 1 if prebuilt, 0 if not
# (the construct below is to allow overriding from env for script)
-LIBUNWIND_DOCS_PREBUILT=${LIBUNWIND_DOCS_PREBUILT:-1}
+: ${LIBUNWIND_DOCS_PREBUILT:=1}
+
LIBUNWIND_DOCS_PREBUILT_DEV=sam
LIBUNWIND_DOCS_VERSION=$(ver_cut 1-3)
# Default to generating docs (inc. man pages) if no prebuilt; overridden later