From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 066D2138334 for ; Fri, 3 Aug 2018 23:04:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0A6AE077C; Fri, 3 Aug 2018 23:04:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 95052E077C for ; Fri, 3 Aug 2018 23:04:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6BE13335CCD for ; Fri, 3 Aug 2018 23:04:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6C9E37B for ; Fri, 3 Aug 2018 23:04:33 +0000 (UTC) From: "Jason Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Donenfeld" Message-ID: <1533337465.6000e40bd8b959979e2e6ebf35efa00cb2aefa10.zx2c4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/wireguard/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-vpn/wireguard/wireguard-0.0.20180802.ebuild X-VCS-Directories: net-vpn/wireguard/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason Donenfeld X-VCS-Revision: 6000e40bd8b959979e2e6ebf35efa00cb2aefa10 X-VCS-Branch: master Date: Fri, 3 Aug 2018 23:04:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f42c2eff-75d8-4e8f-81f0-776b46829af2 X-Archives-Hash: acaa082354fea80386872d7f0d5ff1c9 commit: 6000e40bd8b959979e2e6ebf35efa00cb2aefa10 Author: Jason A. Donenfeld gentoo org> AuthorDate: Fri Aug 3 23:04:25 2018 +0000 Commit: Jason Donenfeld gentoo org> CommitDate: Fri Aug 3 23:04:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6000e40b net-vpn/wireguard: fix warn use condition Package-Manager: Portage-2.3.43, Repoman-2.3.10 net-vpn/wireguard/wireguard-0.0.20180802.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-vpn/wireguard/wireguard-0.0.20180802.ebuild b/net-vpn/wireguard/wireguard-0.0.20180802.ebuild index 858da002956..332e52b44d2 100644 --- a/net-vpn/wireguard/wireguard-0.0.20180802.ebuild +++ b/net-vpn/wireguard/wireguard-0.0.20180802.ebuild @@ -37,9 +37,11 @@ wg_quick_optional_config_nob() { pkg_setup() { if use module; then - wg_quick_optional_config_nob IP_ADVANCED_ROUTER - wg_quick_optional_config_nob IP_MULTIPLE_TABLES - wg_quick_optional_config_nob NETFILTER_XT_MARK + if use tools; then + wg_quick_optional_config_nob IP_ADVANCED_ROUTER + wg_quick_optional_config_nob IP_MULTIPLE_TABLES + wg_quick_optional_config_nob NETFILTER_XT_MARK + fi linux-mod_pkg_setup kernel_is -lt 3 10 0 && die "This version of ${PN} requires Linux >= 3.10"