diff options
author | Andrey Grozin <grozin@gentoo.org> | 2018-11-09 21:07:42 +0700 |
---|---|---|
committer | Andrey Grozin <grozin@gentoo.org> | 2018-11-09 21:07:42 +0700 |
commit | 37baed5e82bada2d220e641ebf3f06c65a5bd44b (patch) | |
tree | 62afa00c11895b86fae9d7a609fd405f6a10b4d1 /app-text | |
parent | dev-python/logutils: eapi7 + py3_7 (diff) | |
download | gentoo-37baed5e82bada2d220e641ebf3f06c65a5bd44b.tar.gz gentoo-37baed5e82bada2d220e641ebf3f06c65a5bd44b.tar.bz2 gentoo-37baed5e82bada2d220e641ebf3f06c65a5bd44b.zip |
app-text/coolreader: fix building with USE=wxwidgets
Fixes: https://bugs.gentoo.org/670206
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/coolreader/coolreader-3.2.2.1-r2.ebuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/app-text/coolreader/coolreader-3.2.2.1-r2.ebuild b/app-text/coolreader/coolreader-3.2.2.1-r2.ebuild index 71c68d68f326..db5d2760de9a 100644 --- a/app-text/coolreader/coolreader-3.2.2.1-r2.ebuild +++ b/app-text/coolreader/coolreader-3.2.2.1-r2.ebuild @@ -76,10 +76,12 @@ src_configure() { src_install() { cmake-utils_src_install - mv "${D}"usr/share/doc/cr3/changelog.gz "${D}"usr/share/doc/${PF}/ || die "mv changelog.gz failed" - rmdir "${D}"usr/share/doc/cr3 || die "rmdir doc/cr3 failed" - gunzip "${D}"usr/share/doc/${PF}/changelog.gz || die "gunzip changelog.gz failed" - gunzip "${D}"usr/share/man/man1/cr3.1.gz || die "gunzip cr3.1.gz failed" + if ! use wxwidgets; then + mv "${D}"usr/share/doc/cr3/changelog.gz "${D}"usr/share/doc/${PF}/ || die "mv changelog.gz failed" + rmdir "${D}"usr/share/doc/cr3 || die "rmdir doc/cr3 failed" + gunzip "${D}"usr/share/doc/${PF}/changelog.gz || die "gunzip changelog.gz failed" + gunzip "${D}"usr/share/man/man1/cr3.1.gz || die "gunzip cr3.1.gz failed" + fi } pkg_postinst() { |