diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-08-09 02:42:25 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-08-09 02:42:25 +0000 |
commit | 41bac73c7a14094f6ef9e532f1cbc9d3e91cf8b7 (patch) | |
tree | 3f74674f6783845edd0410c341ada7469e706abd /dev-ruby/ruby-gtk | |
parent | gcc-3.4 fix for transcode-0.6.11 (Manifest recommit) (diff) | |
download | gentoo-2-41bac73c7a14094f6ef9e532f1cbc9d3e91cf8b7.tar.gz gentoo-2-41bac73c7a14094f6ef9e532f1cbc9d3e91cf8b7.tar.bz2 gentoo-2-41bac73c7a14094f6ef9e532f1cbc9d3e91cf8b7.zip |
Fixed compile error with ruby19.
Diffstat (limited to 'dev-ruby/ruby-gtk')
-rw-r--r-- | dev-ruby/ruby-gtk/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-ruby/ruby-gtk/ChangeLog b/dev-ruby/ruby-gtk/ChangeLog index 3121b495d2d5..5b186e69435d 100644 --- a/dev-ruby/ruby-gtk/ChangeLog +++ b/dev-ruby/ruby-gtk/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ruby/ruby-gtk # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ChangeLog,v 1.17 2004/07/01 10:26:11 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ChangeLog,v 1.18 2004/08/09 02:42:25 usata Exp $ + + 09 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-gtk-0.34-r1.ebuild: + Fixed compile error with ruby19. 01 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-gtk-0.30.ebuild, ruby-gtk-0.34-r1.ebuild, ruby-gtk-0.34.ebuild: diff --git a/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild b/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild index 95b46e0b69c9..f088cf3ffa5f 100644 --- a/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild +++ b/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild,v 1.10 2004/07/14 22:08:51 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild,v 1.11 2004/08/09 02:42:25 usata Exp $ inherit ruby-gnome2 ruby @@ -22,5 +22,7 @@ src_unpack() { unpack ${A} cd ${S} - sed -i -e "s/PLATFORM/RUBY_PLATFORM/g" extconf.rb + + ruby -i -pe 'sub "PLATFORM","RUBY_PLATFORM"' \ + extconf.rb src/makedefconst.rb || "substitution failed" } |