dev-ruby/facter: fixing bad sed (by adding another sed) bug 560758

Package-Manager: portage-2.2.20.1
This commit is contained in:
Matthew Thode
2015-09-22 21:41:24 -05:00
parent 22d8c92e63
commit 27c8cbd068

View File

@@ -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