mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-roguelike/cataclysm-dda: fix build without USE=doc
`use doc && something || die` fails when doc flag is disabled. Closes: https://bugs.gentoo.org/948137 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -122,7 +122,9 @@ src_compile() {
|
||||
|
||||
use nls && export LANGUAGES="all"
|
||||
|
||||
use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||
if use doc; then
|
||||
doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||
fi
|
||||
|
||||
if use ncurses; then
|
||||
# don't build tests twice
|
||||
|
||||
@@ -116,7 +116,9 @@ src_compile() {
|
||||
|
||||
use nls && export LANGUAGES="all"
|
||||
|
||||
use doc && doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||
if use doc; then
|
||||
doxygen doxygen_doc/doxygen_conf.txt || die "Failed to generate docs"
|
||||
fi
|
||||
|
||||
if use ncurses; then
|
||||
# don't build tests twice
|
||||
|
||||
Reference in New Issue
Block a user