commit:     e4d89346479d65149d600dd68b675736a43bf42e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  8 18:36:13 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep  8 18:42:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4d89346

sys-devel/llvm: Fix disabling OCaml docs in -9999

 sys-devel/llvm/llvm-9999.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index 2f4485f..d7470a2 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -179,6 +179,9 @@ multilib_src_configure() {
        if multilib_is_native_abi; then
                mycmakeargs+=(
                        -DLLVM_BUILD_DOCS=$(usex doc)
+                       # note: this is used only when OCaml is enabled, so we 
can
+                       # set it to 'yes' even without OCaml around
+                       -DLLVM_ENABLE_OCAMLDOC=$(usex doc)
                        -DLLVM_ENABLE_SPHINX=$(usex doc)
                        -DLLVM_ENABLE_DOXYGEN=OFF
                        -DLLVM_INSTALL_UTILS=ON

Reply via email to