Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/ispell: ChangeLog ispell-3.3.02-r1.ebuild
Date: Sat, 01 Nov 2008 08:14:43
Message-Id: E1KwBd3-0004O5-Ky@stork.gentoo.org
1 pva 08/11/01 08:14:41
2
3 Modified: ChangeLog
4 Added: ispell-3.3.02-r1.ebuild
5 Log:
6 Resepect CC, CFLAGS and LDFLAGS, bug #209709 reported by Diego Pettenò.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-openvz.git-35f41f1 i686)
8
9 Revision Changes Path
10 1.36 app-text/ispell/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ispell/ChangeLog?rev=1.36&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ispell/ChangeLog?rev=1.36&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ispell/ChangeLog?r1=1.35&r2=1.36
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/ispell/ChangeLog,v
19 retrieving revision 1.35
20 retrieving revision 1.36
21 diff -u -r1.35 -r1.36
22 --- ChangeLog 19 Jan 2008 14:58:15 -0000 1.35
23 +++ ChangeLog 1 Nov 2008 08:14:41 -0000 1.36
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-text/ispell
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/ispell/ChangeLog,v 1.35 2008/01/19 14:58:15 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-text/ispell/ChangeLog,v 1.36 2008/11/01 08:14:41 pva Exp $
29 +
30 +*ispell-3.3.02-r1 (01 Nov 2008)
31 +
32 + 01 Nov 2008; Peter Volkov <pva@g.o> +ispell-3.3.02-r1.ebuild:
33 + Resepect CC, CFLAGS and LDFLAGS, bug #209709 reported by Diego Pettenò.
34
35 19 Jan 2008; Fabian Groffen <grobian@g.o> ispell-3.2.06-r6.ebuild:
36 Dropped ppc-macos keyword, see you in prefix
37
38
39
40 1.1 app-text/ispell/ispell-3.3.02-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ispell/ispell-3.3.02-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/ispell/ispell-3.3.02-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ispell-3.3.02-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-text/ispell/ispell-3.3.02-r1.ebuild,v 1.1 2008/11/01 08:14:41 pva Exp $
50
51 inherit eutils multilib toolchain-funcs
52
53 PATCH_VER="0.3"
54 DESCRIPTION="fast screen-oriented spelling checker"
55 HOMEPAGE="http://fmg-www.cs.ucla.edu/geoff/ispell.html"
56 SRC_URI="http://fmg-www.cs.ucla.edu/geoff/tars/${P}.tar.gz
57 mirror://gentoo/${P}-gentoo-${PATCH_VER}.diff.bz2"
58
59 SLOT="0"
60 LICENSE="as-is"
61 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
62 IUSE=""
63
64 DEPEND="sys-apps/miscfiles
65 >=sys-libs/ncurses-5.2"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 epatch "${WORKDIR}/${P}-gentoo-${PATCH_VER}.diff"
71
72 sed -e "s:GENTOO_LIBDIR:$(get_libdir):" -i local.h || die
73 sed -e "s:\(^#define CC\).*:\1 \"$(tc-getCC)\":" -i local.h || die
74 sed -e "s:\(^#define CFLAGS\).*:\1 \"${CFLAGS}\":" -i config.X || die
75 }
76
77 src_compile() {
78 # Prepare config.sh for installation phase to avoid twice rebuild
79 emake -j1 config.sh || die "configuration failed"
80 sed \
81 -e "s:^\(BINDIR='\)\(.*\):\1${D}\2:" \
82 -e "s:^\(LIBDIR='\)\(.*\):\1${D}\2:" \
83 -e "s:^\(MAN1DIR='\)\(.*\):\1${D}\2:" \
84 -e "s:^\(MAN45DIR='\)\(.*\):\1${D}\2:" \
85 < config.sh > config.sh.install
86
87 emake -j1 || die "compilation failed"
88 }
89
90 src_install() {
91 mv config.sh.install config.sh
92 emake -j1 install || die "Installation Failed"
93 dodoc CHANGES Contributors README WISHES || die "installing docs failed"
94 }
95
96 pkg_postinst() {
97 echo
98 ewarn "If you just updated from an older version of ${PN} you *have* to re-emerge"
99 ewarn "all your dictionaries to avoid segmentation faults and other problems."
100 echo
101 }