summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-08-05 05:11:55 +0100
committerSam James <sam@gentoo.org>2022-08-05 05:12:07 +0100
commite47f632228c5d2b6a6aace3febfbe1ce7a2e95c5 (patch)
treefdeabf3f55ce8f31ca21960406d7a81d658901bc /dev-util
parentapp-emulation/qemu: unify DOCS_USEFLAG name (diff)
downloadgentoo-e47f632228c5d2b6a6aace3febfbe1ce7a2e95c5.tar.gz
gentoo-e47f632228c5d2b6a6aace3febfbe1ce7a2e95c5.tar.bz2
gentoo-e47f632228c5d2b6a6aace3febfbe1ce7a2e95c5.zip
dev-util/cmake: add missing docs snippet
It's only needed for live templates. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cmake/cmake-3.24.0.ebuild2
-rw-r--r--dev-util/cmake/cmake-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/cmake/cmake-3.24.0.ebuild b/dev-util/cmake/cmake-3.24.0.ebuild
index ee2c9abfd92f..d7ad96e3405c 100644
--- a/dev-util/cmake/cmake-3.24.0.ebuild
+++ b/dev-util/cmake/cmake-3.24.0.ebuild
@@ -52,6 +52,8 @@ else
fi
fi
+[[ ${CMAKE_DOCS_PREBUILT} == 1 ]] && CMAKE_DOCS_USEFLAG="doc"
+
S="${WORKDIR}/${MY_P}"
LICENSE="CMake"
diff --git a/dev-util/cmake/cmake-9999.ebuild b/dev-util/cmake/cmake-9999.ebuild
index 918d1d56fccd..41f44120e709 100644
--- a/dev-util/cmake/cmake-9999.ebuild
+++ b/dev-util/cmake/cmake-9999.ebuild
@@ -52,6 +52,8 @@ else
fi
fi
+[[ ${CMAKE_DOCS_PREBUILT} == 1 ]] && CMAKE_DOCS_USEFLAG="doc"
+
S="${WORKDIR}/${MY_P}"
LICENSE="CMake"