Skip to content

Commit

Permalink
dev-lang/crystal: Fix buid with docs use flag
Browse files Browse the repository at this point in the history
In PR crystal-lang/crystal#5217 directory doc
renamed to docs

Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
azomazo committed Jan 9, 2018
1 parent b1bab70 commit 470e789
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-lang/crystal/crystal-0.24.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down Expand Up @@ -93,7 +93,7 @@ src_install() {

if use doc ; then
docinto api
dodoc -r doc/.
dodoc -r docs/.
fi

newbashcomp etc/completion.bash ${PN}
Expand Down

0 comments on commit 470e789

Please sign in to comment.