aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-12 11:35:32 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-12 11:35:32 +0200
commit1c2da507159cd41dfe9de07f0b0559fd9762039b (patch)
tree968588b4df9b725dad3a0d93095c4769a4fa9edd /media-tv
parentmedia-video/kikoplay: drop 0.6.1 (diff)
downloadguru-1c2da507159cd41dfe9de07f0b0559fd9762039b.tar.gz
guru-1c2da507159cd41dfe9de07f0b0559fd9762039b.tar.bz2
guru-1c2da507159cd41dfe9de07f0b0559fd9762039b.zip
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@riseup.net>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/droidcam/droidcam-6.7.7_pre20200506.ebuild7
1 files changed, 1 insertions, 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 c0441bcaa..580c12ffd 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() {