dev-libs/leatherman: fixing bug 601744
authorMatthew Thode <prometheanfire@gentoo.org>
Mon, 5 Dec 2016 23:56:21 +0000 (17:56 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Mon, 5 Dec 2016 23:58:46 +0000 (17:58 -0600)
Package-Manager: portage-2.3.0

dev-libs/leatherman/leatherman-0.10.0.ebuild

index 82fafc78c7ff84a906334828839642e817bcd308..db6472adad11c3500b8a3ae8303148b26d850af0 100644 (file)
@@ -6,26 +6,22 @@ EAPI=5
 USE_RUBY="ruby21 ruby22"
 CMAKE_MIN_VERSION="3.2.2"
 
-inherit cmake-utils multilib ruby-ng
+inherit cmake-utils multilib
 
 DESCRIPTION="A C++ toolkit"
 HOMEPAGE="https://github.com/puppetlabs/leatherman"
 SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
 SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-S="${S}/all/${P}"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="debug test"
 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
 
-CDEPEND="
-       >=sys-devel/gcc-4.8:*
-       >=dev-libs/boost-1.54[nls]
-       net-misc/curl"
-
-RDEPEND+=" ${CDEPEND}"
-DEPEND+=" test? ( ${CDEPEND} )"
+RDEPEND="net-misc/curl"
+DEPEND=">=dev-libs/boost-1.54[nls]
+       net-misc/curl
+       >=sys-devel/gcc-4.8:*"
 
 src_prepare() {
        sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die