From c38770f58b278dce35b82a3d45a134f69d4b8926 Mon Sep 17 00:00:00 2001 From: Richard Yao Date: Fri, 9 Oct 2015 11:30:30 -0400 Subject: [PATCH] sys-fs/zfs: Only check kernel sources with USE=test-suite Package-Manager: portage-2.2.20.1 Reported-by: Yixun Lan Signed-off-by: Richard Yao --- sys-fs/zfs/zfs-0.6.5.2-r1.ebuild | 2 +- sys-fs/zfs/zfs-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild index 83049e7f4ec0..d8d2c6426e34 100644 --- a/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild +++ b/sys-fs/zfs/zfs-0.6.5.2-r1.ebuild @@ -63,7 +63,7 @@ RDEPEND="${COMMON_DEPEND} " pkg_setup() { - if use kernel_linux; then + if use kernel_linux && use test-suite; then linux-info_pkg_setup if ! linux_config_exists; then ewarn "Cannot check the linux kernel configuration." diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index 54dd3410ffc3..8bb60aa0c454 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -63,7 +63,7 @@ RDEPEND="${COMMON_DEPEND} " pkg_setup() { - if use kernel_linux; then + if use kernel_linux && use test-suite; then linux-info_pkg_setup if ! linux_config_exists; then ewarn "Cannot check the linux kernel configuration." -- 2.26.2