diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-07-26 01:16:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-07-26 01:16:36 +0200 |
commit | f62442f8351e18ba60b10b275a75820fac877011 (patch) | |
tree | 047aeeaee4cafbc42a5b319b8f90c6c980531495 /net-misc/wireguard | |
parent | app-arch/p7zip: Drop kdelibs (R)DEPEND, sort DEPEND/IUSE, EAPI=6 (diff) | |
download | gentoo-f62442f8351e18ba60b10b275a75820fac877011.tar.gz gentoo-f62442f8351e18ba60b10b275a75820fac877011.tar.bz2 gentoo-f62442f8351e18ba60b10b275a75820fac877011.zip |
net-misc/wireguard: add debug USE flag
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/wireguard')
-rw-r--r-- | net-misc/wireguard/wireguard-0.0.20160722.ebuild | 3 | ||||
-rw-r--r-- | net-misc/wireguard/wireguard-9999.ebuild | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/net-misc/wireguard/wireguard-0.0.20160722.ebuild b/net-misc/wireguard/wireguard-0.0.20160722.ebuild index ecbf8d17d386..108e0dc06f41 100644 --- a/net-misc/wireguard/wireguard-0.0.20160722.ebuild +++ b/net-misc/wireguard/wireguard-0.0.20160722.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="net-libs/libmnl" RDEPEND="${DEPEND}" @@ -43,6 +43,7 @@ src_prepare() { } src_compile() { + use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y" linux-mod_src_compile emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools } diff --git a/net-misc/wireguard/wireguard-9999.ebuild b/net-misc/wireguard/wireguard-9999.ebuild index ecbf8d17d386..108e0dc06f41 100644 --- a/net-misc/wireguard/wireguard-9999.ebuild +++ b/net-misc/wireguard/wireguard-9999.ebuild @@ -21,7 +21,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="debug" DEPEND="net-libs/libmnl" RDEPEND="${DEPEND}" @@ -43,6 +43,7 @@ src_prepare() { } src_compile() { + use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y" linux-mod_src_compile emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools } |