summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-07-19 07:51:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-07-19 07:51:31 +0100
commitbb2cef5edf85ffacc36a97c394c4af0115c6ffcd (patch)
tree519d3483decefdc26d92b8b6f1e5ce1a153beab7 /sys-kernel
parent21feaf18c1048ba4dada97e0b1e69bcd56d4e6a9 (diff)
sys-kernel/bbswitch-dkms : fix src_prepare, patch EAPI7 way
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild b/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
index 86958fec..8aeb65dc 100644
--- a/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
+++ b/sys-kernel/bbswitch-dkms/bbswitch-dkms-0.8-r2.ebuild
@@ -20,10 +20,14 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
+PATCHES=(
+ "${FILESDIR}"/"${P}"-conf.patch
+)
+
src_prepare() {
+ default
# Fix build failure, bug #513542
sed -i 's/^KDIR.*$/KDIR\ \:= \/usr\/src\/linux/g' Makefile
- epatch ${FILESDIR}/${P}-conf.patch
}
src_compile() {