summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-21 23:43:04 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-21 23:43:04 +0000
commit6ec794b2f55df0f7658c8d3dddd4fcf9b21479e7 (patch)
tree53dcba3e73881ad7e6d2352fbb3542baf44caf42 /sys-devel/bison
parentVersion bump. Also did some cleanup on the DEPEND/RDEPEND var's and added the... (diff)
downloadhistorical-6ec794b2f55df0f7658c8d3dddd4fcf9b21479e7.tar.gz
historical-6ec794b2f55df0f7658c8d3dddd4fcf9b21479e7.tar.bz2
historical-6ec794b2f55df0f7658c8d3dddd4fcf9b21479e7.zip
Version bump #106803 by Michael Cramer.
Package-Manager: portage-2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/
Diffstat (limited to 'sys-devel/bison')
-rw-r--r--sys-devel/bison/ChangeLog7
-rw-r--r--sys-devel/bison/Manifest10
-rw-r--r--sys-devel/bison/bison-2.1.ebuild54
-rw-r--r--sys-devel/bison/files/digest-bison-2.11
4 files changed, 67 insertions, 5 deletions
diff --git a/sys-devel/bison/ChangeLog b/sys-devel/bison/ChangeLog
index 98dd1e7bb4f4..28a69a34891d 100644
--- a/sys-devel/bison/ChangeLog
+++ b/sys-devel/bison/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/bison
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.42 2005/09/15 04:26:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bison/ChangeLog,v 1.43 2005/09/21 23:43:04 vapier Exp $
+
+*bison-2.1 (21 Sep 2005)
+
+ 21 Sep 2005; Mike Frysinger <vapier@gentoo.org> +bison-2.1.ebuild:
+ Version bump #106803 by Michael Cramer.
15 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/bison-2.0-token-name-translate.patch, bison-2.0.ebuild:
diff --git a/sys-devel/bison/Manifest b/sys-devel/bison/Manifest
index d4104cbf74ce..b058e903761e 100644
--- a/sys-devel/bison/Manifest
+++ b/sys-devel/bison/Manifest
@@ -2,12 +2,14 @@
Hash: SHA1
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
+MD5 b3525fffca9cea39e82037e57f61baa6 bison-2.1.ebuild 1406
MD5 8daee23ecbd311833a371ff404cde24a bison-1.875d.ebuild 1791
MD5 2242f1d96824a7a82fcb75e0660f1eb2 bison-2.0.ebuild 1468
MD5 891a59b63cc7cc11c919095f55a38de3 bison-1.875.ebuild 1796
-MD5 d6cc5abcf4554f703e0e91dc3dec18fd ChangeLog 6066
+MD5 74ace92cfb9424b11c27843d501ee4e6 ChangeLog 6204
MD5 4ac198b61c1a87f5070a32369477eda0 files/digest-bison-2.0 62
MD5 644a4912da3e5107f509022f173ec146 files/bison-1.875-gccerror.patch 1538
+MD5 b1f336cb11b48c0d21d94441cd8674dd files/digest-bison-2.1 62
MD5 6af3f9859615301181f6a1536aa56fb1 files/digest-bison-1.875d 65
MD5 4a875793f3bd808692002c152e5e26c4 files/digest-bison-1.875 64
MD5 61b224a9eaf1ae7f77c2d1456d8fda87 files/bison-1.32-extfix.patch 1170
@@ -15,7 +17,7 @@ MD5 b0e8983afb264754c539f1eb53116970 files/bison-2.0-token-name-translate.patch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDKPfxgIKl8Uu19MoRAvOxAJ4g31CGUX5S2TJWjbbB70JucbBJSACfRG7u
-Po5HrjC5jlONyGgslyAGTmc=
-=fzGk
+iD8DBQFDMfApgIKl8Uu19MoRAuX+AJ0bnf7DG0d5gYU3r0ceO484AFDAjQCgg+Yk
+jYoLqjppCSW7fI+ryH1snx8=
+=5WOP
-----END PGP SIGNATURE-----
diff --git a/sys-devel/bison/bison-2.1.ebuild b/sys-devel/bison/bison-2.1.ebuild
new file mode 100644
index 000000000000..9067c30df7de
--- /dev/null
+++ b/sys-devel/bison/bison-2.1.ebuild
@@ -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.1.ebuild,v 1.1 2005/09/21 23:43:04 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 ~m68k ~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
+
+ use static && append-ldflags -static
+ econf $(use_enable nls) || die
+ 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.1 b/sys-devel/bison/files/digest-bison-2.1
new file mode 100644
index 000000000000..fd37b4ad3f14
--- /dev/null
+++ b/sys-devel/bison/files/digest-bison-2.1
@@ -0,0 +1 @@
+MD5 b1468d49c1357aebcd1de6ef12cbf3e8 bison-2.1.tar.gz 1316270