diff options
-rw-r--r-- | dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild index f7f077b..1902d73 100644 --- a/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild +++ b/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1-r1.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/sqlite3-ruby/sqlite3-ruby-1.2.1.ebuild,v 1.3 2007/03/04 00:15:40 genone Exp $ -inherit ruby +inherit ruby flag-o-matic DESCRIPTION="An extension library to access a SQLite database from Ruby" HOMEPAGE="http://rubyforge.org/projects/sqlite-ruby/" @@ -34,9 +34,12 @@ pkg_setup() { } src_compile() { + replace-flags -O2 -O1 myconf="" if ! use swig ; then myconf="--without-ext" + else + rm ext/sqlite3_api/sqlite3_api_wrap.c || die "unable to remove swig file" fi ${RUBY} setup.rb config --prefix=/usr ${myconf} \ |