diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-10-11 10:50:27 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-10-11 10:50:27 +0000 |
commit | 3026a4b7011bef8f11ff2787e0593bb5c36a285d (patch) | |
tree | 9472258c89ac872cb816471a9d3e399c2aeae9a2 /sci-calculators/wcalc | |
parent | New version for GNOME 2.24. New set of backgrounds. (diff) | |
download | gentoo-2-3026a4b7011bef8f11ff2787e0593bb5c36a285d.tar.gz gentoo-2-3026a4b7011bef8f11ff2787e0593bb5c36a285d.tar.bz2 gentoo-2-3026a4b7011bef8f11ff2787e0593bb5c36a285d.zip |
Added patch to fix parallel build issues (bug #241176).
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686)
Diffstat (limited to 'sci-calculators/wcalc')
-rw-r--r-- | sci-calculators/wcalc/ChangeLog | 6 | ||||
-rw-r--r-- | sci-calculators/wcalc/files/wcalc-2.3.1-parallel-build.patch | 11 | ||||
-rw-r--r-- | sci-calculators/wcalc/wcalc-2.3.1.ebuild | 11 |
3 files changed, 25 insertions, 3 deletions
diff --git a/sci-calculators/wcalc/ChangeLog b/sci-calculators/wcalc/ChangeLog index 09cec171f6e8..b45edceae96c 100644 --- a/sci-calculators/wcalc/ChangeLog +++ b/sci-calculators/wcalc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-calculators/wcalc # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/ChangeLog,v 1.10 2008/03/14 13:21:44 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/ChangeLog,v 1.11 2008/10/11 10:50:27 markusle Exp $ + + 11 Oct 2008; Markus Dittrich <markusle@gentoo.org> + +files/wcalc-2.3.1-parallel-build.patch, wcalc-2.3.1.ebuild: + Added patch to fix parallel build issues (bug #241176). *wcalc-2.3.1 (14 Mar 2008) diff --git a/sci-calculators/wcalc/files/wcalc-2.3.1-parallel-build.patch b/sci-calculators/wcalc/files/wcalc-2.3.1-parallel-build.patch new file mode 100644 index 000000000000..15ca95a2ae4a --- /dev/null +++ b/sci-calculators/wcalc/files/wcalc-2.3.1-parallel-build.patch @@ -0,0 +1,11 @@ +diff -Naur Wcalc-2.3.1/Makefile.am Wcalc-2.3.1.new/Makefile.am +--- Wcalc-2.3.1/Makefile.am 2007-02-25 21:09:18.000000000 -0500 ++++ Wcalc-2.3.1.new/Makefile.am 2008-10-11 06:38:08.000000000 -0400 +@@ -1,6 +1,7 @@ + bin_PROGRAMS = wcalc + AM_YFLAGS = -dt + #AM_LFLAGS = -w ++BUILT_SOURCES = parser.c + wcalc_SOURCES = calculator.h variables.h string_manip.h help.h parser.y \ + string_manip.h historyManager.h files.h conversion.h \ + scanner.l help.c calculator.c string_manip.c historyManager.c \ diff --git a/sci-calculators/wcalc/wcalc-2.3.1.ebuild b/sci-calculators/wcalc/wcalc-2.3.1.ebuild index d1bb6ecf14a1..95c5c47126bb 100644 --- a/sci-calculators/wcalc/wcalc-2.3.1.ebuild +++ b/sci-calculators/wcalc/wcalc-2.3.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/wcalc-2.3.1.ebuild,v 1.1 2008/03/14 13:21:44 markusle Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/wcalc/wcalc-2.3.1.ebuild,v 1.2 2008/10/11 10:50:27 markusle Exp $ -inherit eutils +inherit eutils autotools MYP="Wcalc-${PV}" DESCRIPTION="A flexible command-line scientific calculator" @@ -20,6 +20,13 @@ DEPEND="readline? ( sys-libs/readline ) S="${WORKDIR}"/${MYP} +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-parallel-build.patch + eautoreconf +} + src_compile() { econf $(use_with readline) || die "econf failed." emake || die "emake failed." |