diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2019-08-15 18:25:08 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-08-16 13:02:24 -0400 |
commit | 405b8247f89a09745eb2d17ece349a1631bdcf5a (patch) | |
tree | 2a6003dd102841aa2dd06f2b28a9d1ac35920568 /app-i18n/libchewing/libchewing-9999.ebuild | |
parent | net-wireless/wpa_supplicant: bump to version 2.9 (diff) | |
download | gentoo-405b8247f89a09745eb2d17ece349a1631bdcf5a.tar.gz gentoo-405b8247f89a09745eb2d17ece349a1631bdcf5a.tar.bz2 gentoo-405b8247f89a09745eb2d17ece349a1631bdcf5a.zip |
app-i18n/libchewing: Fix building with USE="test" and sys-libs/ncurses[tinfo].
Fixes: https://bugs.gentoo.org/690272
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-i18n/libchewing/libchewing-9999.ebuild')
-rw-r--r-- | app-i18n/libchewing/libchewing-9999.ebuild | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app-i18n/libchewing/libchewing-9999.ebuild b/app-i18n/libchewing/libchewing-9999.ebuild index 9353fc5f3dd0..e059c2147b15 100644 --- a/app-i18n/libchewing/libchewing-9999.ebuild +++ b/app-i18n/libchewing/libchewing-9999.ebuild @@ -3,8 +3,11 @@ EAPI="7" +inherit autotools + if [[ "${PV}" == "9999" ]]; then - inherit autotools git-r3 +# inherit autotools git-r3 + inherit git-r3 EGIT_REPO_URI="https://github.com/chewing/libchewing" fi @@ -27,12 +30,17 @@ RDEPEND="dev-db/sqlite:3" DEPEND="${RDEPEND} test? ( sys-libs/ncurses[unicode] )" +PATCHES=( + "${FILESDIR}/${PN}-0.5.1-autoconf-archive-2019.01.06.patch" +) + src_prepare() { default + eautoreconf - if [[ "${PV}" == "9999" ]]; then - eautoreconf - fi +# if [[ "${PV}" == "9999" ]]; then +# eautoreconf +# fi } src_configure() { @@ -48,6 +56,8 @@ src_test() { src_install() { default - find "${D}" -name "*.la" -delete || die - use static-libs || find "${D}" -name "*.a" -delete || die + find "${D}" -name "*.la" -type f -delete || die + if ! use static-libs; then + find "${D}" -name "*.a" -type f -delete || die + fi } |