dev-lang/crystal: Fix build with doc use flag
authorAzamat Khudaygulov <azamat@hudaygulov.ru>
Tue, 9 Jan 2018 21:58:55 +0000 (00:58 +0300)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 9 Jan 2018 23:09:30 +0000 (23:09 +0000)
In PR https://github.com/crystal-lang/crystal/pull/5217 directory doc
renamed to docs

Package-Manager: Portage-2.3.19, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6810

dev-lang/crystal/crystal-0.24.1.ebuild

index 5436a7888dd91228ff6e18f028e0db4d51022c37..d4dafefe6d4b837a3b148ef177dea2c8a3d5299e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -62,7 +62,7 @@ src_compile() {
                CRYSTAL_PATH=src \
                CRYSTAL_CONFIG_VERSION=${PV} \
                CRYSTAL_CONFIG_PATH="lib:${EPREFIX}/usr/$(get_libdir)/crystal"
-       use doc && emake doc
+       use doc && emake docs
 }
 
 src_test() {
@@ -93,7 +93,7 @@ src_install() {
 
        if use doc ; then
                docinto api
-               dodoc -r doc/.
+               dodoc -r docs/.
        fi
 
        newbashcomp etc/completion.bash ${PN}