summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@gentoo.org>2015-10-09 11:30:30 -0400
committerRichard Yao <ryao@gentoo.org>2015-10-09 11:31:55 -0400
commitc38770f58b278dce35b82a3d45a134f69d4b8926 (patch)
treef1e360c069e34cf7b7d06e24d5662d4ac8f75b00 /sys-fs/zfs
parentapp-laptop/samsung-tools: set proxy maintainer undersys in metadata (diff)
downloadgentoo-c38770f58b278dce35b82a3d45a134f69d4b8926.tar.gz
gentoo-c38770f58b278dce35b82a3d45a134f69d4b8926.tar.bz2
gentoo-c38770f58b278dce35b82a3d45a134f69d4b8926.zip
sys-fs/zfs: Only check kernel sources with USE=test-suite
Package-Manager: portage-2.2.20.1 Reported-by: Yixun Lan <dlan@gentoo.org> Signed-off-by: Richard Yao <ryao@gentoo.org>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r--sys-fs/zfs/zfs-0.6.5.2-r1.ebuild2
-rw-r--r--sys-fs/zfs/zfs-9999.ebuild2
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."