From: Richard Yao Date: Fri, 9 Oct 2015 15:30:30 +0000 (-0400) Subject: sys-fs/zfs: Only check kernel sources with USE=test-suite X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c38770f58b278dce35b82a3d45a134f69d4b8926;p=gentoo.git 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 --- 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."