summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schuerch <nativemad@gentoo.org>2016-01-25 21:03:45 +0100
committerAndreas Schuerch <nativemad@gentoo.org>2016-01-25 21:04:38 +0100
commitbbd6778c05a11a1388c446ab30eb322968613696 (patch)
tree38972c9a643d7e6008d6d441c6a98fe0a80786cf /sys-fs/dislocker/dislocker-9999.ebuild
parentapp-admin/logrotate: bump to version 3.9.2 (diff)
downloadgentoo-bbd6778c05a11a1388c446ab30eb322968613696.tar.gz
gentoo-bbd6778c05a11a1388c446ab30eb322968613696.tar.bz2
gentoo-bbd6778c05a11a1388c446ab30eb322968613696.zip
sys-fs/dislocker: treat deps correctly
Package-Manager: portage-2.2.26
Diffstat (limited to 'sys-fs/dislocker/dislocker-9999.ebuild')
-rw-r--r--sys-fs/dislocker/dislocker-9999.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys-fs/dislocker/dislocker-9999.ebuild b/sys-fs/dislocker/dislocker-9999.ebuild
index ba8d5839f494..e4497f2fa087 100644
--- a/sys-fs/dislocker/dislocker-9999.ebuild
+++ b/sys-fs/dislocker/dislocker-9999.ebuild
@@ -19,12 +19,10 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="mbedtls polarssl ruby"
-REQUIRED_USE="|| ( polarssl mbedtls )"
+IUSE="ruby"
DEPEND="sys-fs/fuse
- mbedtls? ( net-libs/mbedtls )
- polarssl? ( net-libs/polarssl )
+ || ( net-libs/polarssl net-libs/mbedtls )
ruby? ( dev-lang/ruby:2.1 )"
RDEPEND="${DEPEND}"
@@ -37,6 +35,13 @@ src_prepare() {
sed 's:\.\./man:'../../${P}/man':g' -i "${S}/src/CMakeLists.txt" || die
}
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_find_package ruby Ruby)
+ )
+ cmake-utils_src_configure
+}
+
src_install() {
find "${S}/man/linux" -name '*.1' -exec doman '{}' +
cmake-utils_src_install