mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-ruby/facter: fixing bad sed (by adding another sed) bug 560758
Package-Manager: portage-2.2.20.1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user