app-text/sdcv: fix bug 583386
authorAndrew Savchenko <bircoph@gentoo.org>
Wed, 18 May 2016 09:20:36 +0000 (12:20 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Wed, 18 May 2016 09:20:36 +0000 (12:20 +0300)
1. When USE="nls", but intersection of LINGUAS with PLOCALES is
zero, $BUILD_DIR/locale is not created, thus cmake generated build
fails install phase. Fixed by always creating this directory.

2. Remove dodoc useless in EAPI=6: we have only default doc files.

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild

index 21fea92c44449b8e7c5f0df80f664e3f8534a34d..ef684bbb83197172bae6beca2475da6ce9c43702 100644 (file)
@@ -58,6 +58,9 @@ src_compile() {
 }
 
 src_install() {
+       # with USE=nls, but empty intersection of LINGUAS and list of
+       # supported translations, this directory is required, see bug 583386
+       # failure is ok here (e.g. if dir exists)
+       mkdir "${BUILD_DIR}/locale"
        cmake-utils_src_install
-       dodoc AUTHORS NEWS
 }