From 79599515788b85b18aa655e7b7f8cc05c1bbddd8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Feb 2019 12:59:29 +0000 Subject: gentoo resync : 16.02.1018 --- sys-apps/kmod/kmod-9999.ebuild | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sys-apps/kmod/kmod-9999.ebuild') diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild index 29f71548f2a9..7738137ba641 100644 --- a/sys-apps/kmod/kmod-9999.ebuild +++ b/sys-apps/kmod/kmod-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} ) -inherit bash-completion-r1 ltprune multilib python-r1 +inherit bash-completion-r1 multilib python-r1 if [[ ${PV} == 9999* ]]; then EGIT_REPO_URI="https://git.kernel.org/pub/scm/utils/kernel/${PN}/${PN}.git" @@ -21,7 +21,7 @@ HOMEPAGE="https://git.kernel.org/?p=utils/kernel/kmod/kmod.git" LICENSE="LGPL-2" SLOT="0" -IUSE="debug doc lzma python static-libs +tools zlib" +IUSE="debug doc lzma python ssl static-libs +tools zlib" # Upstream does not support running the test suite with custom configure flags. # I was also told that the test suite is intended for kmod developers. @@ -36,6 +36,7 @@ RDEPEND="!sys-apps/module-init-tools !=app-arch/xz-utils-5.0.4-r1 ) python? ( ${PYTHON_DEPS} ) + ssl? ( >=dev-libs/openssl-1.1.0:0= ) zlib? ( >=sys-libs/zlib-1.2.6 )" #427130 DEPEND="${RDEPEND} doc? ( dev-util/gtk-doc ) @@ -57,7 +58,7 @@ DOCS="NEWS README TODO" src_prepare() { default - if [ ! -e configure ]; then + if [[ ! -e configure ]] ; then if use doc; then gtkdocize --copy --docdir libkmod/docs || die else @@ -85,6 +86,7 @@ src_configure() { $(use_enable static-libs static) $(use_enable tools) $(use_with lzma xz) + $(use_with ssl openssl) $(use_with zlib) ) @@ -138,7 +140,7 @@ src_install() { python_foreach_impl python_install fi - prune_libtool_files --modules + find "${ED}" -name "*.la" -delete || die if use tools; then local bincmd sbincmd -- cgit v1.2.3