sys-devel/llvm: Fix disabling OCaml docs in -9999
authorMichał Górny <mgorny@gentoo.org>
Thu, 8 Sep 2016 18:36:13 +0000 (20:36 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 8 Sep 2016 18:42:56 +0000 (20:42 +0200)
sys-devel/llvm/llvm-9999.ebuild

index 2f4485fb6c4bf67c73b6cc748ecf25fe000da0ab..d7470a269db29c86361c6a6a7bd1f6e0a1f8f0fe 100644 (file)
@@ -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