dev-ruby/facter: fixing the separation of the leatherman dep
authorMatthew Thode <prometheanfire@gentoo.org>
Sat, 19 Mar 2016 19:37:07 +0000 (14:37 -0500)
committerMatthew Thode <prometheanfire@gentoo.org>
Sat, 19 Mar 2016 19:37:07 +0000 (14:37 -0500)
Package-Manager: portage-2.2.26

dev-ruby/facter/facter-3.1.5.ebuild

index 53f9a1416e0aaefe8be2aaaa68a7a4c3963ff791..b3123ca85bc1d5142578b01f8911705ba9b3b737 100644 (file)
@@ -20,6 +20,7 @@ KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
 CDEPEND="
        >=sys-devel/gcc-4.8:*
        >=dev-libs/boost-1.54[nls]
+       >=dev-libs/leatherman-0.4.2
        >=dev-cpp/yaml-cpp-0.5.1
        dev-libs/openssl:*
        sys-apps/util-linux
@@ -31,7 +32,6 @@ RDEPEND+=" ${CDEPEND}"
 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