commit:     2c35517dc9ca63701230e2a0f16100e135e8da3d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 22:20:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 22:20:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c35517d

dev-ruby/json: drop obsolete sed

See 
https://github.com/flori/json/commit/18b3000090d1044425d369a58ebe52f5342b9699
which dropped the relevant -O* stuff this was removing.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ruby/json/json-2.6.3.ebuild | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/dev-ruby/json/json-2.6.3.ebuild b/dev-ruby/json/json-2.6.3.ebuild
index e47d024b5a6f..08949a1f9e3b 100644
--- a/dev-ruby/json/json-2.6.3.ebuild
+++ b/dev-ruby/json/json-2.6.3.ebuild
@@ -41,10 +41,6 @@ all_ruby_prepare() {
                -e 's|`git ls-files`|""|' \
                Rakefile || die "rakefile fix failed"
 
-       # Remove hardcoded and broken -O setting.
-       sed -i -e '/^  \(if\|unless\)/,/^  end/ s:^:#:' \
-               -e '/^unless/,/^end/ s:^:#:' ext/json/ext/*/extconf.rb || die
-
        # Avoid setting gem since it will not be available yet when installing
        sed -i -e '/gem/ s:^:#:' tests/test_helper.rb || die
 }

Reply via email to