commit:     c38770f58b278dce35b82a3d45a134f69d4b8926
Author:     Richard Yao <ryao <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 15:30:30 2015 +0000
Commit:     Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 15:31:55 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38770f5

sys-fs/zfs: Only check kernel sources with USE=test-suite

Package-Manager: portage-2.2.20.1
Reported-by: Yixun Lan <dlan <AT> gentoo.org>
Signed-off-by: Richard Yao <ryao <AT> gentoo.org>

 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 83049e7..d8d2c64 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 54dd341..8bb60aa 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."

Reply via email to