summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-05-06 09:15:19 +0000
committerHans de Graaff <graaff@gentoo.org>2012-05-06 09:15:19 +0000
commit27ff4208e5af0125fd9afba972c569b52310000d (patch)
tree618abb46759b076775147a2bf3d130414fce6f9b /dev-ruby
parentVersion bump; Facebook and Windows Live authentication is now enabled since i... (diff)
downloadgentoo-2-27ff4208e5af0125fd9afba972c569b52310000d.tar.gz
gentoo-2-27ff4208e5af0125fd9afba972c569b52310000d.tar.bz2
gentoo-2-27ff4208e5af0125fd9afba972c569b52310000d.zip
Avoid hardcoded cflags, thanks to ago for reporting in bug 414671.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/ncurses-ruby/ChangeLog5
-rw-r--r--dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-ruby/ncurses-ruby/ChangeLog b/dev-ruby/ncurses-ruby/ChangeLog
index 29bb18c858cb..3de6a91d79fa 100644
--- a/dev-ruby/ncurses-ruby/ChangeLog
+++ b/dev-ruby/ncurses-ruby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/ncurses-ruby
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.57 2012/05/01 18:24:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ChangeLog,v 1.58 2012/05/06 09:15:19 graaff Exp $
+
+ 06 May 2012; Hans de Graaff <graaff@gentoo.org> ncurses-ruby-1.3.1.ebuild:
+ Avoid hardcoded cflags, thanks to ago for reporting in bug 414671.
01 May 2012; Raúl Porcel <armin76@gentoo.org> ncurses-ruby-1.2.4-r1.ebuild,
ncurses-ruby-1.2.4-r2.ebuild, ncurses-ruby-1.3.1.ebuild:
diff --git a/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild b/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild
index 774c41d5f078..d852b979810c 100644
--- a/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild
+++ b/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.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/ncurses-ruby/ncurses-ruby-1.3.1.ebuild,v 1.2 2012/05/01 18:24:06 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ncurses-ruby/ncurses-ruby-1.3.1.ebuild,v 1.3 2012/05/06 09:15:19 graaff Exp $
EAPI=2
USE_RUBY="ruby18 ree18"
@@ -22,6 +22,11 @@ IUSE="examples"
DEPEND=">=sys-libs/ncurses-5.3"
RDEPEND="${DEPEND}"
+all_ruby_prepare() {
+ # Remove hardcoded CFLAGS settings.
+ sed -i -e '/CFLAGS/d' extconf.rb || die
+}
+
each_ruby_configure() {
${RUBY} extconf.rb || die
}