From: Patrick McLean Date: Mon, 23 Sep 2019 20:44:26 +0000 (-0700) Subject: net-misc/AQtion: Fix build against a non-running kernel X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99344b4305b897f0ac79176b60b9907281619451;p=gentoo.git net-misc/AQtion: Fix build against a non-running kernel Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Patrick McLean --- diff --git a/net-misc/AQtion/AQtion-2.2.7.ebuild b/net-misc/AQtion/AQtion-2.2.7.ebuild index 157bb239defb..052ff5de6cb2 100644 --- a/net-misc/AQtion/AQtion-2.2.7.ebuild +++ b/net-misc/AQtion/AQtion-2.2.7.ebuild @@ -43,7 +43,11 @@ src_prepare() { fi } +src_compile() { + KDIR="${KERNEL_DIR}" linux-mod_src_compile +} + src_install() { - linux-mod_src_install + KDIR="${KERNEL_DIR}" linux-mod_src_install dodoc "${DOCS[@]}" }