diff options
author | Guy Martin <gmsoft@gentoo.org> | 2007-02-04 17:23:58 +0000 |
---|---|---|
committer | Guy Martin <gmsoft@gentoo.org> | 2007-02-04 17:23:58 +0000 |
commit | c1066ac0f7e4fa9d7268e8e36867caf7b3f2c294 (patch) | |
tree | 4264385970db66d38a7612c619b4872dbce6c688 /dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild | |
parent | Fixes gstreamer plugin linkage (diff) | |
download | gentoo-2-c1066ac0f7e4fa9d7268e8e36867caf7b3f2c294.tar.gz gentoo-2-c1066ac0f7e4fa9d7268e8e36867caf7b3f2c294.tar.bz2 gentoo-2-c1066ac0f7e4fa9d7268e8e36867caf7b3f2c294.zip |
Fixed compilation on hppa.
(Portage version: 2.1.2-r6)
Diffstat (limited to 'dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild')
-rw-r--r-- | dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild index 491584feccd3..100d84b29752 100644 --- a/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild +++ b/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild,v 1.2 2007/01/05 16:48:20 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild,v 1.3 2007/02/04 17:23:58 gmsoft Exp $ inherit ruby @@ -17,6 +17,14 @@ USE_RUBY="ruby16 ruby18 ruby19" DEPEND="virtual/ruby virtual/mysql" +src_unpack() { + unpack ${A} + if use hppa + then + sed -e 's/LONG_LONG/long long/' -i "${S}"/mysql.c.in + fi +} + src_compile() { ruby extconf.rb || die emake || die |