summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2016-05-18 12:20:36 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2016-05-18 12:20:36 +0300
commit012c170099daadbb84ff4bdbf48be33398ace0a6 (patch)
tree432d976ba633c06194d4f2d6cd35489d0c78dc2a /app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild
parentsys-apps/baselayout-java: marked ~amd64-linux (diff)
downloadgentoo-012c170099daadbb84ff4bdbf48be33398ace0a6.tar.gz
gentoo-012c170099daadbb84ff4bdbf48be33398ace0a6.tar.bz2
gentoo-012c170099daadbb84ff4bdbf48be33398ace0a6.zip
app-text/sdcv: fix bug 583386
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>
Diffstat (limited to 'app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild')
-rw-r--r--app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild b/app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild
index 21fea92c4444..ef684bbb8319 100644
--- a/app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild
+++ b/app-text/sdcv/sdcv-0.5.0_beta2-r1.ebuild
@@ -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
}