summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-18 04:14:04 +0100
committerSam James <sam@gentoo.org>2022-08-18 04:14:04 +0100
commit999c26dc8b0a80fcc6e902d282b42fc198397e71 (patch)
treeb6893db9a9458c23501aa4af360123df8728d0a3 /dev-util/pkgdev
parentnet-dns/bind-tools: add 9.16.32 (diff)
downloadgentoo-999c26dc8b0a80fcc6e902d282b42fc198397e71.tar.gz
gentoo-999c26dc8b0a80fcc6e902d282b42fc198397e71.tar.bz2
gentoo-999c26dc8b0a80fcc6e902d282b42fc198397e71.zip
dev-util/pkgdev: fix docs override
No functional change, just useful for building doc tarball. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/pkgdev')
-rw-r--r--dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild3
-rw-r--r--dev-util/pkgdev/pkgdev-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild b/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
index 5758209ab661..080ce3e061e9 100644
--- a/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
+++ b/dev-util/pkgdev/pkgdev-0.2.1-r3.ebuild
@@ -6,7 +6,8 @@ EAPI=8
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pkgdev-docs
# Set to 1 if prebuilt, 0 if not
# (the construct below is to allow overriding from env for script)
-PKGDEV_DOCS_PREBUILT=${PKGDEV_DOCS_PREBUILT:-1}
+: ${PKGDEV_DOCS_PREBUILT:=1}
+
PKGDEV_DOCS_PREBUILT_DEV=sam
PKGDEV_DOCS_VERSION=$(ver_cut 1-3)
# Default to generating docs (inc. man pages) if no prebuilt; overridden later
diff --git a/dev-util/pkgdev/pkgdev-9999.ebuild b/dev-util/pkgdev/pkgdev-9999.ebuild
index 4d8a1fd72641..5172a308d581 100644
--- a/dev-util/pkgdev/pkgdev-9999.ebuild
+++ b/dev-util/pkgdev/pkgdev-9999.ebuild
@@ -6,7 +6,8 @@ EAPI=8
# Generate using https://github.com/thesamesam/sam-gentoo-scripts/blob/main/niche/generate-pkgdev-docs
# Set to 1 if prebuilt, 0 if not
# (the construct below is to allow overriding from env for script)
-PKGDEV_DOCS_PREBUILT=${PKGDEV_DOCS_PREBUILT:-1}
+: ${PKGDEV_DOCS_PREBUILT:=1}
+
PKGDEV_DOCS_PREBUILT_DEV=sam
PKGDEV_DOCS_VERSION=$(ver_cut 1-3)
# Default to generating docs (inc. man pages) if no prebuilt; overridden later