Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-devel/bison: ChangeLog bison-2.4.1.ebuild
Date: Mon, 22 Dec 2008 05:48:39
Message-Id: E1LEdeU-0005OC-RJ@stork.gentoo.org
1 vapier 08/12/22 05:48:26
2
3 Modified: ChangeLog
4 Added: bison-2.4.1.ebuild
5 Log:
6 Version bump #250848 by Arfrever Frehtes Taifersar Arahesis.
7 (Portage version: 2.2_rc17/cvs/Linux 2.6.27.8 x86_64)
8
9 Revision Changes Path
10 1.77 sys-devel/bison/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/ChangeLog?rev=1.77&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/ChangeLog?rev=1.77&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/ChangeLog?r1=1.76&r2=1.77
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v
19 retrieving revision 1.76
20 retrieving revision 1.77
21 diff -u -r1.76 -r1.77
22 --- ChangeLog 14 Nov 2008 08:50:29 -0000 1.76
23 +++ ChangeLog 22 Dec 2008 05:48:26 -0000 1.77
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-devel/bison
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.76 2008/11/14 08:50:29 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.77 2008/12/22 05:48:26 vapier Exp $
29 +
30 +*bison-2.4.1 (22 Dec 2008)
31 +
32 + 22 Dec 2008; Mike Frysinger <vapier@g.o> +bison-2.4.1.ebuild:
33 + Version bump #250848 by Arfrever Frehtes Taifersar Arahesis.
34
35 14 Nov 2008; Mike Frysinger <vapier@g.o>
36 files/bison-2.4-compat.patch, bison-2.4-r1.ebuild:
37
38
39
40 1.1 sys-devel/bison/bison-2.4.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/bison-2.4.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-devel/bison/bison-2.4.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: bison-2.4.1.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/sys-devel/bison/bison-2.4.1.ebuild,v 1.1 2008/12/22 05:48:26 vapier Exp $
50
51 inherit toolchain-funcs flag-o-matic
52
53 DESCRIPTION="A yacc-compatible parser generator"
54 HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
55 SRC_URI="mirror://gnu/bison/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="nls static"
61
62 # need flex since we patch scan-code.l in ${P}-compat.patch
63 DEPEND="nls? ( sys-devel/gettext )
64 sys-devel/flex"
65 RDEPEND="sys-devel/m4"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70 # since we patch sources, update mtimes on docs so we dont regen
71 touch doc/bison.1 doc/bison.info doc/cross-options.texi
72 }
73
74 src_compile() {
75 use static && append-ldflags -static
76 econf $(use_enable nls) || die
77 emake || die
78 }
79
80 src_install() {
81 emake DESTDIR="${D}" install || die
82
83 # This one is installed by dev-util/yacc
84 mv "${D}"/usr/bin/yacc{,.bison} || die
85 mv "${D}"/usr/share/man/man1/yacc{,.bison}.1 || die
86
87 # We do not need this.
88 rm -r "${D}"/usr/lib* || die
89
90 dodoc AUTHORS NEWS ChangeLog README OChangeLog THANKS TODO
91 }
92
93 pkg_postinst() {
94 if [[ ! -e ${ROOT}/usr/bin/yacc ]] ; then
95 ln -s yacc.bison "${ROOT}"/usr/bin/yacc
96 fi
97 }