summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Martin <gmsoft@gentoo.org>2007-02-04 17:23:58 +0000
committerGuy Martin <gmsoft@gentoo.org>2007-02-04 17:23:58 +0000
commitad26062c64244e151049050575c1e9ce19d66276 (patch)
treea264b3147f0754c55201f98231dc584030b01af7 /dev-ruby/mysql-ruby
parentFixes gstreamer plugin linkage (diff)
downloadhistorical-ad26062c64244e151049050575c1e9ce19d66276.tar.gz
historical-ad26062c64244e151049050575c1e9ce19d66276.tar.bz2
historical-ad26062c64244e151049050575c1e9ce19d66276.zip
Fixed compilation on hppa.
Package-Manager: portage-2.1.2-r6
Diffstat (limited to 'dev-ruby/mysql-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog5
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.7.2.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 6d260f9861fd..3eafd39d3085 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.30 2007/01/05 16:48:20 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.31 2007/02/04 17:23:58 gmsoft Exp $
+
+ 04 Feb 2007; Guy Martin <gmsoft@gentoo.org> mysql-ruby-2.7.2.ebuild:
+ Fixed compilation on hppa.
05 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> mysql-ruby-2.7.ebuild,
mysql-ruby-2.7.2.ebuild:
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