commit:     37c7221a142aa8164d18f3442f9cb6273cb4318e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 12:23:14 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 12:26:11 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37c7221a

app-i18n/canna: inherit autotools

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 app-i18n/canna/canna-3.7_p3-r3.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-i18n/canna/canna-3.7_p3-r3.ebuild 
b/app-i18n/canna/canna-3.7_p3-r3.ebuild
index 26a3d509594..e9b38ff15c1 100644
--- a/app-i18n/canna/canna-3.7_p3-r3.ebuild
+++ b/app-i18n/canna/canna-3.7_p3-r3.ebuild
@@ -3,13 +3,13 @@
 
 EAPI="6"
 
-inherit cannadic toolchain-funcs
+inherit autotools cannadic toolchain-funcs
 
 MY_P="Canna${PV//[._]/}"
 
 DESCRIPTION="A client-server based Kana-Kanji conversion system"
 HOMEPAGE="http://canna.osdn.jp/";
-SRC_URI="mirror://sourceforge.jp/canna/9565/${MY_P}.tar.bz2"
+SRC_URI="mirror://sourceforge.jp/${PN}/9565/${MY_P}.tar.bz2"
 
 LICENSE="MIT GPL-2"
 SLOT="0"
@@ -23,9 +23,7 @@ RDEPEND="canuum? (
 DEPEND="${RDEPEND}
        x11-misc/gccmakedep
        x11-misc/imake
-       canuum? (
-               virtual/pkgconfig
-       )
+       canuum? ( virtual/pkgconfig )
        doc? (
                app-text/ghostscript-gpl
                dev-texlive/texlive-langjapanese
@@ -50,7 +48,7 @@ src_prepare() {
        sed -i \
                -e "/DefLibCannaDir/s:/lib$:/$(get_libdir):" \
                -e "/UseInet6/s:0:$(usex ipv6 1 0):" \
-               Canna.conf
+               ${PN^c}.conf
 
        if use canuum; then
                cd canuum

Reply via email to