Version bump #77407 by Michael Cramer.
authorMike Frysinger <vapier@gentoo.org>
Tue, 11 Jan 2005 01:32:00 +0000 (01:32 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 11 Jan 2005 01:32:00 +0000 (01:32 +0000)
sys-devel/bison/ChangeLog
sys-devel/bison/Manifest
sys-devel/bison/bison-2.0.ebuild [new file with mode: 0644]
sys-devel/bison/files/digest-bison-2.0 [new file with mode: 0644]

index cd7f93c1e869a77b8576c3a4cc0922b325fb4c0f..c489b4f1d8cb0d3e9ac224d9114d85b1c1ed935f 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-devel/bison
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.34 2005/01/11 01:19:15 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.35 2005/01/11 01:32:00 vapier Exp $
+
+*bison-2.0 (10 Jan 2005)
+
+  10 Jan 2005; Mike Frysinger <vapier@gentoo.org> +bison-2.0.ebuild:
+  Version bump #77407 by Michael Cramer.
 
   10 Jan 2005; Jason Wever <weeve@gentoo.org> bison-1.875d.ebuild:
   Marked stable on sparc wrt bug #77435 so Spanky can't spank us
index 961f140fb31d330f4b882518f1035d019fe2a7cd..fef2b02aa1b2fc12411f4580cab6dae995b941cd 100644 (file)
@@ -1,8 +1,20 @@
-MD5 d4821b597e2ccfc6ad558bfb34154b2e ChangeLog 5140
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 38b268bccc9305cc9ca830ef0f4cae51 ChangeLog 5278
+MD5 2248d37ee73b8782eb8c1204223bc3bf bison-2.0.ebuild 1396
 MD5 1fa097c5dadf6409725fb45ad1779636 bison-1.875d.ebuild 1786
 MD5 8c84616c45d124011832de90f7838807 bison-1.875.ebuild 1801
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 MD5 61b224a9eaf1ae7f77c2d1456d8fda87 files/bison-1.32-extfix.patch 1170
 MD5 644a4912da3e5107f509022f173ec146 files/bison-1.875-gccerror.patch 1538
+MD5 4ac198b61c1a87f5070a32369477eda0 files/digest-bison-2.0 62
 MD5 6af3f9859615301181f6a1536aa56fb1 files/digest-bison-1.875d 65
 MD5 4a875793f3bd808692002c152e5e26c4 files/digest-bison-1.875 64
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.14 (GNU/Linux)
+
+iD8DBQFB4yyoroRuSHgZdywRAs6lAKCQ8NEFfGIcO0Wnbh//fNM+csOw3gCeNypB
++V2mkMZeLvXQ6RmB38Ik314=
+=L7r5
+-----END PGP SIGNATURE-----
diff --git a/sys-devel/bison/bison-2.0.ebuild b/sys-devel/bison/bison-2.0.ebuild
new file mode 100644 (file)
index 0000000..e720e58
--- /dev/null
@@ -0,0 +1,54 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/bison-2.0.ebuild,v 1.1 2005/01/11 01:32:00 vapier Exp $
+
+inherit toolchain-funcs flag-o-matic eutils gnuconfig
+
+DESCRIPTION="A yacc-compatible parser generator"
+HOMEPAGE="http://www.gnu.org/software/bison/bison.html"
+SRC_URI="mirror://gnu/bison/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="nls static"
+
+DEPEND="sys-devel/m4
+       nls? ( sys-devel/gettext )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-1.32-extfix.patch
+}
+
+src_compile() {
+       # Bug 29017 says that bison has compile-time issues with
+       # -march=k6* prior to 3.4CVS.  Use -march=i586 instead
+       # (04 Feb 2004 agriffis)
+       if (( $(gcc-major-version) == 3 && $(gcc-minor-version) < 4 )) ; then
+               replace-cpu-flags k6 k6-1 k6-2 i586
+       fi
+
+       econf $(use_enable nls) || die
+       use static && append-ldflags -static
+       emake || die
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die
+
+       # This one is installed by dev-util/yacc
+       mv "${D}"/usr/bin/yacc{,.bison} || die
+
+       # We do not need this.
+       rm -r "${D}"/usr/lib
+
+       dodoc AUTHORS NEWS ChangeLog README REFERENCES OChangeLog doc/FAQ
+}
+
+pkg_postinst() {
+       if [[ ! -e ${ROOT}/usr/bin/yacc ]] ; then
+               ln -s yacc.bison "${ROOT}"/usr/bin/yacc
+       fi
+}
diff --git a/sys-devel/bison/files/digest-bison-2.0 b/sys-devel/bison/files/digest-bison-2.0
new file mode 100644 (file)
index 0000000..0b33ffe
--- /dev/null
@@ -0,0 +1 @@
+MD5 c17f964fd5504b88b07a183420de25e3 bison-2.0.tar.gz 1163590