From: Matthew Thode Date: Wed, 23 Sep 2015 02:41:24 +0000 (-0500) Subject: dev-ruby/facter: fixing bad sed (by adding another sed) bug 560758 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=27c8cbd068f584d0fa14bf07430871afa3c5d3e7;p=gentoo.git dev-ruby/facter: fixing bad sed (by adding another sed) bug 560758 Package-Manager: portage-2.2.20.1 --- diff --git a/dev-ruby/facter/facter-3.1.0.ebuild b/dev-ruby/facter/facter-3.1.0.ebuild index d27a6ebb5948..31604763e41d 100644 --- a/dev-ruby/facter/facter-3.1.0.ebuild +++ b/dev-ruby/facter/facter-3.1.0.ebuild @@ -32,6 +32,7 @@ DEPEND+=" test? ( ${CDEPEND} )" src_prepare() { sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die # Remove the code that installs facter.rb to the wrong directory. + sed -i 's/if(RUBY_VENDORDIR)/if(False)/g' lib/CMakeLists.txt || die sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die # make it support multilib sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die