commit:     1c2da507159cd41dfe9de07f0b0559fd9762039b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue May 12 09:35:32 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 12 09:35:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1c2da507

media-tv/droidcam: fix build if eselect kernel is not running kernel

upstream changed things and now uses a variable, no more need to sed
the makefile

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild 
b/media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild
index c0441bc..580c12f 100644
--- a/media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild
+++ b/media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild
@@ -32,11 +32,6 @@ 
MODULE_NAMES="v4l2loopback-dc(video:${S}/v4l2loopback:${S}/v4l2loopback)"
 MODULESD_V4L2LOOPBACK_DC_ENABLED="yes"
 BUILD_TARGETS="all"
 
-src_prepare() {
-       default
-       sed -i -e "s/\`uname -r\`/${KV_FULL}/g" v4l2loopback/Makefile
-}
-
 src_configure() {
        set_arch_to_kernel
        default
@@ -44,7 +39,7 @@ src_configure() {
 
 src_compile() {
        default
-       linux-mod_src_compile
+       KERNELRELEASE="${KV_FULL}" linux-mod_src_compile
 }
 
 src_test() {

Reply via email to