/[gentoo-x86]/app-i18n/nkf/nkf-2.1.3.ebuild
Gentoo

Diff of /app-i18n/nkf/nkf-2.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.3.ebuild,v 1.4 2014/08/07 18:25:08 zlogene Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.3.ebuild,v 1.5 2014/08/09 08:30:22 jer Exp $
4 4
5EAPI="5" 5EAPI="5"
6PYTHON_COMPAT=( python{2_6,2_7} ) 6PYTHON_COMPAT=( python{2_6,2_7} )
7inherit eutils distutils-r1 perl-module toolchain-funcs 7inherit eutils distutils-r1 perl-module toolchain-funcs
8 8
19src_prepare() { 19src_prepare() {
20 sed -i \ 20 sed -i \
21 -e '/^CFLAGS/{s|-g -O2||;s|=|+=|;}' \ 21 -e '/^CFLAGS/{s|-g -O2||;s|=|+=|;}' \
22 -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \ 22 -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
23 Makefile || die 23 Makefile || die
24 24
25 if use python; then
25 mv "${WORKDIR}/NKF.python" "${S}" || die 26 mv "${WORKDIR}/NKF.python" "${S}" || die
26 epatch "${FILESDIR}"/${P}-strip.patch 27 epatch "${FILESDIR}"/${P}-strip.patch
28 fi
27} 29}
28 30
29src_compile() { 31src_compile() {
30 emake CC="$(tc-getCC)" nkf || die 32 emake CC="$(tc-getCC)" nkf || die
31 if use perl; then 33 if use perl; then

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20