summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-12-26 08:09:34 +0000
committerHans de Graaff <graaff@gentoo.org>2012-12-26 08:09:34 +0000
commit1cd1a4f196eafe5db601730d9a4b264814bbfb0b (patch)
treeb5b3ee4e9011e43067d750b5e99de063f8b4eef8 /dev-ruby
parentWorkaround bug #427838 where ghc-6.12.3 hangs building Text.JSON.Parsec by ji... (diff)
downloadgentoo-2-1cd1a4f196eafe5db601730d9a4b264814bbfb0b.tar.gz
gentoo-2-1cd1a4f196eafe5db601730d9a4b264814bbfb0b.tar.bz2
gentoo-2-1cd1a4f196eafe5db601730d9a4b264814bbfb0b.zip
Actually install the shared object.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/mysql-ruby/ChangeLog8
-rw-r--r--dev-ruby/mysql-ruby/mysql-ruby-2.9.0-r1.ebuild (renamed from dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild)9
2 files changed, 10 insertions, 7 deletions
diff --git a/dev-ruby/mysql-ruby/ChangeLog b/dev-ruby/mysql-ruby/ChangeLog
index 353e50e94076..6c8ddd998e0e 100644
--- a/dev-ruby/mysql-ruby/ChangeLog
+++ b/dev-ruby/mysql-ruby/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/mysql-ruby
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.103 2012/12/25 08:19:22 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/ChangeLog,v 1.104 2012/12/26 08:09:34 graaff Exp $
+
+*mysql-ruby-2.9.0-r1 (26 Dec 2012)
+
+ 26 Dec 2012; Hans de Graaff <graaff@gentoo.org> -mysql-ruby-2.9.0.ebuild,
+ +mysql-ruby-2.9.0-r1.ebuild:
+ Actually install the shared object.
*mysql-ruby-2.9.0 (25 Dec 2012)
diff --git a/dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild b/dev-ruby/mysql-ruby/mysql-ruby-2.9.0-r1.ebuild
index cfc2c00be39e..b25ed8a641b3 100644
--- a/dev-ruby/mysql-ruby/mysql-ruby-2.9.0.ebuild
+++ b/dev-ruby/mysql-ruby/mysql-ruby-2.9.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 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.9.0.ebuild,v 1.1 2012/12/25 08:19:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mysql-ruby/mysql-ruby-2.9.0-r1.ebuild,v 1.1 2012/12/26 08:09:34 graaff Exp $
EAPI=4
USE_RUBY="ruby18 ree18 ruby19"
@@ -12,7 +12,7 @@ RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
-inherit ruby-fakegem
+inherit multilib ruby-fakegem
DESCRIPTION="A Ruby extension library to use MySQL"
HOMEPAGE="http://www.tmtm.org/en/mysql/ruby/"
@@ -27,16 +27,13 @@ RDEPEND="${DEPEND}"
TEST_DIR="/usr/share/${PN}/test/"
-#all_ruby_prepare() {
-# epatch "${FILESDIR}/${P}-test2.patch"
-#}
-
each_ruby_configure() {
${RUBY} -Cext/mysql_api extconf.rb --with-mysql-config "${EPREFIX}/usr/bin/mysqlconfig" || die
}
each_ruby_compile() {
emake -Cext/mysql_api || die
+ cp ext/mysql_api/mysql_api$(get_modname) lib/mysql/ || die
}
all_ruby_install() {