diff options
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r-- | dev-ruby/facter/facter-3.1.0.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-ruby/facter/facter-3.1.0.ebuild b/dev-ruby/facter/facter-3.1.0.ebuild index d27a6ebb594..31604763e41 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 |