summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2015-09-22 21:41:24 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2015-09-22 21:41:50 -0500
commit27c8cbd068f584d0fa14bf07430871afa3c5d3e7 (patch)
tree1ae8216f9e85bc290da2780f91d5df4bc9aa60d1 /dev-ruby/facter
parentnet-misc/wget: mark 1.16.2 arm64/ia64/m68k/s390/sh stable #560418 (diff)
downloadgentoo-27c8cbd068f584d0fa14bf07430871afa3c5d3e7.tar.gz
gentoo-27c8cbd068f584d0fa14bf07430871afa3c5d3e7.tar.bz2
gentoo-27c8cbd068f584d0fa14bf07430871afa3c5d3e7.zip
dev-ruby/facter: fixing bad sed (by adding another sed) bug 560758
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-ruby/facter')
-rw-r--r--dev-ruby/facter/facter-3.1.0.ebuild1
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 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