Version bump #106803 by Michael Cramer.
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Sep 2005 23:43:04 +0000 (23:43 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 21 Sep 2005 23:43:04 +0000 (23:43 +0000)
Package-Manager: portage-2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/

sys-devel/bison/ChangeLog
sys-devel/bison/Manifest
sys-devel/bison/bison-2.1.ebuild [new file with mode: 0644]
sys-devel/bison/files/digest-bison-2.1 [new file with mode: 0644]

index 98dd1e7bb4f431a8f29e581a83173acf777b32af..28a69a34891ddc012827e0c15840338fed269787 100644 (file)
@@ -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:
index d4104cbf74ceff1cae29e903eb86c4acb6429565..b058e903761e55405b986a2a5d10508b24502a6b 100644 (file)
@@ -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 (file)
index 0000000..9067c30
--- /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.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 (file)
index 0000000..fd37b4a
--- /dev/null
@@ -0,0 +1 @@
+MD5 b1468d49c1357aebcd1de6ef12cbf3e8 bison-2.1.tar.gz 1316270