diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2022-07-10 17:25:31 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-10 23:50:41 +0100 |
commit | 4d871ba0037304177576fb06c6bb007e9c0f6c24 (patch) | |
tree | b25b05251bad1a7844ca8fe25e5345bab39bf1c9 /app-emulation | |
parent | app-emulation/virtualbox-guest-additions: respect LDFLAGS (diff) | |
download | gentoo-4d871ba0037304177576fb06c6bb007e9c0f6c24.tar.gz gentoo-4d871ba0037304177576fb06c6bb007e9c0f6c24.tar.bz2 gentoo-4d871ba0037304177576fb06c6bb007e9c0f6c24.zip |
app-emulation/virtualbox-guest-additions: fix VariableScope
Closes: https://bugs.gentoo.org/836037
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26326
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.34-r3.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.34-r3.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.34-r3.ebuild index ead997d47a65..5c05b55625b7 100644 --- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.34-r3.ebuild +++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-6.1.34-r3.ebuild @@ -64,7 +64,6 @@ pkg_setup() { use X && MODULE_NAMES+=" vboxvideo(misc:${VBOX_MOD_SRC_DIR}/vboxvideo::${VBOX_MOD_SRC_DIR}/vboxvideo)" linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers" } src_prepare() { @@ -178,6 +177,8 @@ src_compile() { # Now creating the kernel modules. We must do this _after_ # we compiled the user-space tools as we need two of the # automatically generated header files. (>=3.2.0) + # Move this here for bug 836037 + BUILD_PARAMS="KERN_DIR=/lib/modules/${KV_FULL}/build KERNOUT=${KV_OUT_DIR} KBUILD_EXTRA_SYMBOLS=${S}/Module.symvers" linux-mod_src_compile } |