diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2006-01-12 17:57:51 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2006-01-12 17:57:51 +0000 |
commit | bc00734124bd50b06902c2de679bc4cd495ac4ae (patch) | |
tree | 163300906472f6300de0bf8f621e4915013bb0f5 /dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild | |
parent | Add sqlite3 useflag for mt-daapd. (diff) | |
download | gentoo-2-bc00734124bd50b06902c2de679bc4cd495ac4ae.tar.gz gentoo-2-bc00734124bd50b06902c2de679bc4cd495ac4ae.tar.bz2 gentoo-2-bc00734124bd50b06902c2de679bc4cd495ac4ae.zip |
Add gcc-4.1 patch for bug 118151.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild')
-rw-r--r-- | dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild b/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild index d479794cecbd..967610bf80f5 100644 --- a/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild +++ b/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild,v 1.7 2004/12/16 10:12:52 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gdchart/ruby-gdchart-0.0.9_beta.ebuild,v 1.8 2006/01/12 17:57:51 vanquirius Exp $ -inherit ruby +inherit ruby eutils MY_P="${P/_/-}" DESCRIPTION="Ruby/GDChart is an extension to use Bruce Verderaime's GDCHART library (http://www.fred.net/brv/chart) from Ruby." @@ -18,15 +18,19 @@ USE_RUBY="ruby16 ruby18 ruby19" DEPEND="virtual/ruby media-libs/gd" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -src_compile() { +src_unpack() { + unpack ${A} + epatch "${FILESDIR}"/${P}-gcc41.patch +} +src_compile() { ruby extconf.rb || die make || die } -src_install () { - DESTDIR=${D} emake install || die +src_install() { + make DESTDIR="${D}" install || die dodoc README.en ChangeLog bar_sample.rb pie_sample.rb } |