diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2017-06-30 15:15:19 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2017-06-30 15:15:27 +0200 |
commit | cf789f317bc8993cbde9828124924c83e3cabe57 (patch) | |
tree | 9c6f93c63ab2e3d9b201052ac27c5f3aa643e1d3 /net-vpn/wireguard | |
parent | app-admin/puppet: fix building with USE=emacs or USE=xemacs, bug 623012 (diff) | |
download | gentoo-cf789f317bc8993cbde9828124924c83e3cabe57.tar.gz gentoo-cf789f317bc8993cbde9828124924c83e3cabe57.tar.bz2 gentoo-cf789f317bc8993cbde9828124924c83e3cabe57.zip |
net-vpn/wireguard: evaluate KERNEL_DIR later
The linux-info eclass might do some things to it during other
phases, so we want to evaluate it quite late.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'net-vpn/wireguard')
-rw-r--r-- | net-vpn/wireguard/wireguard-0.0.20170629.ebuild | 2 | ||||
-rw-r--r-- | net-vpn/wireguard/wireguard-9999.ebuild | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net-vpn/wireguard/wireguard-0.0.20170629.ebuild b/net-vpn/wireguard/wireguard-0.0.20170629.ebuild index 2ffe26d5db54..0f1b5d07cb7a 100644 --- a/net-vpn/wireguard/wireguard-0.0.20170629.ebuild +++ b/net-vpn/wireguard/wireguard-0.0.20170629.ebuild @@ -26,7 +26,6 @@ DEPEND="tools? ( net-libs/libmnl )" RDEPEND="${DEPEND}" MODULE_NAMES="wireguard(net:src)" -BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1" BUILD_TARGETS="module" CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_BLKCIPHER ~PADATA" WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto." @@ -39,6 +38,7 @@ pkg_setup() { } src_compile() { + BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1" use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}" use module && linux-mod_src_compile use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools diff --git a/net-vpn/wireguard/wireguard-9999.ebuild b/net-vpn/wireguard/wireguard-9999.ebuild index 2ffe26d5db54..0f1b5d07cb7a 100644 --- a/net-vpn/wireguard/wireguard-9999.ebuild +++ b/net-vpn/wireguard/wireguard-9999.ebuild @@ -26,7 +26,6 @@ DEPEND="tools? ( net-libs/libmnl )" RDEPEND="${DEPEND}" MODULE_NAMES="wireguard(net:src)" -BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1" BUILD_TARGETS="module" CONFIG_CHECK="NET INET NET_UDP_TUNNEL CRYPTO_BLKCIPHER ~PADATA" WARNING_PADATA="If you're running a multicore system you likely should enable CONFIG_PADATA for improved performance and parallel crypto." @@ -39,6 +38,7 @@ pkg_setup() { } src_compile() { + BUILD_PARAMS="KERNELDIR=${KERNEL_DIR} V=1" use debug && BUILD_PARAMS="CONFIG_WIREGUARD_DEBUG=y ${BUILD_PARAMS}" use module && linux-mod_src_compile use tools && emake RUNSTATEDIR="${EPREFIX}/run" -C src/tools |