diff options
author | Akinori Hattori <hattya@gentoo.org> | 2012-07-14 06:11:14 +0000 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2012-07-14 06:11:14 +0000 |
commit | 8b78aef88f19168fe2d44efa1ac8c358f61d6a30 (patch) | |
tree | df4900494e06b7b2c45f2cc62de991164216b737 /app-i18n/kcc | |
parent | respect LDFLAGS wrt bug #335737 (diff) | |
download | gentoo-2-8b78aef88f19168fe2d44efa1ac8c358f61d6a30.tar.gz gentoo-2-8b78aef88f19168fe2d44efa1ac8c358f61d6a30.tar.bz2 gentoo-2-8b78aef88f19168fe2d44efa1ac8c358f61d6a30.zip |
respect LDFLAGS wrt bug #334601
(Portage version: 2.1.10.65/cvs/Linux i686)
Diffstat (limited to 'app-i18n/kcc')
-rw-r--r-- | app-i18n/kcc/ChangeLog | 7 | ||||
-rw-r--r-- | app-i18n/kcc/kcc-1.0.ebuild | 22 |
2 files changed, 15 insertions, 14 deletions
diff --git a/app-i18n/kcc/ChangeLog b/app-i18n/kcc/ChangeLog index 668c715826a7..516c64fdea46 100644 --- a/app-i18n/kcc/ChangeLog +++ b/app-i18n/kcc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-i18n/kcc -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/ChangeLog,v 1.9 2007/02/21 22:05:33 peper Exp $ +# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/ChangeLog,v 1.10 2012/07/14 06:11:14 hattya Exp $ + + 14 Jul 2012; Akinori Hattori <hattya@gentoo.org> kcc-1.0.ebuild: + respect LDFLAGS wrt bug #334601 21 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/app-i18n/kcc/kcc-1.0.ebuild b/app-i18n/kcc/kcc-1.0.ebuild index dec713c4ecf5..b46f8c79007f 100644 --- a/app-i18n/kcc/kcc-1.0.ebuild +++ b/app-i18n/kcc/kcc-1.0.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/kcc-1.0.ebuild,v 1.14 2006/11/26 17:24:44 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/kcc/kcc-1.0.ebuild,v 1.15 2012/07/14 06:11:14 hattya Exp $ -inherit toolchain-funcs eutils +EAPI="4" + +inherit eutils toolchain-funcs DESCRIPTION="A Kanji code converter" HOMEPAGE="http://www2s.biglobe.ne.jp/~Nori/ruby/" @@ -15,21 +17,17 @@ IUSE="" S="${WORKDIR}/${PN}" -src_unpack() { - unpack ${A} - - cd "${S}" +src_prepare() { epatch "${FILESDIR}/${PN}-gcc3-gentoo.diff" } src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${LDFLAGS}" } src_install() { - dobin kcc || die - + dobin kcc dodoc README - insinto /usr/share/man/ja/man1 - newins kcc.jman kcc.1 || die + cp -f kcc.jman kcc.1 || die + doman -i18n=ja kcc.1 } |