commit:     99344b4305b897f0ac79176b60b9907281619451
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Sep 23 20:44:26 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 20:44:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99344b43

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 <chutzpah <AT> gentoo.org>

 net-misc/AQtion/AQtion-2.2.7.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-misc/AQtion/AQtion-2.2.7.ebuild 
b/net-misc/AQtion/AQtion-2.2.7.ebuild
index 157bb239def..052ff5de6cb 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[@]}"
 }

Reply via email to