diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-09-04 13:34:14 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-09-04 13:34:14 +0000 |
commit | 6327028bdc998135a29f99b8b1521beaeb7a11de (patch) | |
tree | c02bceeb1994af7123cad943646d5d3a9c83af83 /dev-util/btyacc | |
parent | Version bump, security fix for IAX2 denial of service (AST-2009-006). Set mis... (diff) | |
download | historical-6327028bdc998135a29f99b8b1521beaeb7a11de.tar.gz historical-6327028bdc998135a29f99b8b1521beaeb7a11de.tar.bz2 historical-6327028bdc998135a29f99b8b1521beaeb7a11de.zip |
Respect CC (bug #243974), append to CFLAGS (but not -g), append to LDFLAGS, use system LD.
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'dev-util/btyacc')
-rw-r--r-- | dev-util/btyacc/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/btyacc/Manifest | 4 | ||||
-rw-r--r-- | dev-util/btyacc/btyacc-3.0-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-util/btyacc/files/btyacc-3.0-makefile.patch | 22 |
4 files changed, 70 insertions, 3 deletions
diff --git a/dev-util/btyacc/ChangeLog b/dev-util/btyacc/ChangeLog index 1549d81c5414..1ec8a3b8299f 100644 --- a/dev-util/btyacc/ChangeLog +++ b/dev-util/btyacc/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/btyacc -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/ChangeLog,v 1.9 2008/10/31 06:19:16 wormo Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/ChangeLog,v 1.10 2009/09/04 13:34:14 jer Exp $ + +*btyacc-3.0-r1 (04 Sep 2009) + + 04 Sep 2009; Jeroen Roovers <jer@gentoo.org> +btyacc-3.0-r1.ebuild, + +files/btyacc-3.0-makefile.patch: + Respect CC (bug #243974), append to CFLAGS (but not -g), append to + LDFLAGS, use system LD. 31 Oct 2008; Stephanie Lockwood-Childs <wormo@gentoo.org> +files/btyacc-3.0-includes.patch, btyacc-3.0.ebuild: diff --git a/dev-util/btyacc/Manifest b/dev-util/btyacc/Manifest index 29d1aaabe629..2a6dbf40e893 100644 --- a/dev-util/btyacc/Manifest +++ b/dev-util/btyacc/Manifest @@ -1,5 +1,7 @@ AUX btyacc-3.0-includes.patch 171 RMD160 45ea75a3f8ff65b8ce64272ec178883cbcb43a61 SHA1 3586e165aea0327eed2ada29028428cd5318a870 SHA256 9254b10e13921251fb9a59631b327514c1843775e2db56f51643ec14df639892 +AUX btyacc-3.0-makefile.patch 536 RMD160 7ee1691ef74761f292883692d2cfa4354af11f29 SHA1 08fefb29e38f61cfdc636121f75f27fe9e956be2 SHA256 9c3bf2f12cd6235b47da46f1674986c6f0315adfcdde3d73e4e91d1e79b38800 DIST btyacc-3-0.tar.gz 74770 RMD160 1d28e4d8cf2d0c660194a2f373554c99b42c1b9f SHA1 4a70f78d9695fa1101c49ab1cdbfda5ab740c027 SHA256 501be7eb21623b4bbf47f6c33f74b6dab52374939c0f155b364b1efa641b020a +EBUILD btyacc-3.0-r1.ebuild 760 RMD160 e0b9fa0ec5f2b35e7661bc5f17e1722540c91825 SHA1 37fdd70a4c5bff0921abb09593aaeae1b410669f SHA256 2eae46b910b03142517ecd5adf5a26aa03b47f371eb4f14b8312b09933e3f3cf EBUILD btyacc-3.0.ebuild 722 RMD160 adaa8eb84edee80d42ea3d5fae1b1532b53480f4 SHA1 827fb7f910bcbf92604ff1a9ecbce992d6ddd3f6 SHA256 6a6b9f517a066e210d004433c4f7068648bb509241171712392217b938695d14 -MISC ChangeLog 1235 RMD160 b5b0dfc4f3dd783a398058207c019bd9205e8f4a SHA1 ec9e0bbdcc82f55b28504b0d6a9d701976e894d9 SHA256 bbd90c4e1b6c5f52f1c1dfede8c0a5e3a3b83c32fc4f93212d790513a29b01a1 +MISC ChangeLog 1466 RMD160 df763e3493556269f31436599640e67da83d1ebd SHA1 1de642ed836acf33c570e851eaf5f192b035075c SHA256 a6f964d82f790114571192e6eb8d6c210b20bb25c25bb2a005802e7fe95ca9a1 MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a diff --git a/dev-util/btyacc/btyacc-3.0-r1.ebuild b/dev-util/btyacc/btyacc-3.0-r1.ebuild new file mode 100644 index 000000000000..1e4f2efc7b2b --- /dev/null +++ b/dev-util/btyacc/btyacc-3.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/btyacc/btyacc-3.0-r1.ebuild,v 1.1 2009/09/04 13:34:14 jer Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs + +MY_P=${P/./-} +IUSE="" +DESCRIPTION="Backtracking YACC - modified from Berkeley YACC" +HOMEPAGE="http://www.siber.com/btyacc" +SRC_URI="http://www.siber.com/btyacc/${MY_P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~ppc ~x86" + +S="${WORKDIR}" + +src_prepare() { + cp -av Makefile{,.orig} + epatch "${FILESDIR}/${P}-includes.patch" + epatch "${FILESDIR}/${P}-makefile.patch" +} + +src_compile() { + tc-export CC + emake || die +} + +src_install() { + dobin btyacc + dodoc README README.BYACC + newman manpage btyacc.1 +} diff --git a/dev-util/btyacc/files/btyacc-3.0-makefile.patch b/dev-util/btyacc/files/btyacc-3.0-makefile.patch new file mode 100644 index 000000000000..884b49f46b9d --- /dev/null +++ b/dev-util/btyacc/files/btyacc-3.0-makefile.patch @@ -0,0 +1,22 @@ +Respect CC, append to CFLAGS (but not -g), append to LDFLAGS, use system LD -jer + +--- Makefile.orig 1999-07-15 19:40:12.000000000 +0200 ++++ Makefile 2009-09-04 15:27:15.000000000 +0200 +@@ -8,14 +8,13 @@ + + HDRS = defs.h mstring.h + +-CFLAGS = -g -Wall -Wstrict-prototypes -Wmissing-prototypes ++CFLAGS += -Wall -Wstrict-prototypes -Wmissing-prototypes + +-LDFLAGS = -static ++LDFLAGS += -static + + LIBS = + +-CC = gcc +-LINKER = gcc ++LINKER = $(CC) + # LINKER = cl + # CC = cl + |