summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/sys-kernel/dkms/dkms-2.3.exheres-01
-rw-r--r--packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch4
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/sys-kernel/dkms/dkms-2.3.exheres-0 b/packages/sys-kernel/dkms/dkms-2.3.exheres-0
index e835a4f..1204b50 100644
--- a/packages/sys-kernel/dkms/dkms-2.3.exheres-0
+++ b/packages/sys-kernel/dkms/dkms-2.3.exheres-0
@@ -21,6 +21,7 @@ MYOPTIONS=""
DEPENDENCIES="
run:
app-shells/bash
+ sys-apps/gentoo-functions
suggestion:
app-arch/dpkg [[
description = [ Build DKMS-enabled debs ]
diff --git a/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch b/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch
index 42b7464..6fc55e1 100644
--- a/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch
+++ b/packages/sys-kernel/dkms/files/dkms-2.3-gentoo-functions.patch
@@ -26,8 +26,8 @@ diff -Nur a/dkms_autoinstaller b/dkms_autoinstaller
- . /lib/lsb/init-functions
-elif [ -f /etc/rc.d/init.d/functions ]; then
- . /etc/rc.d/init.d/functions
-+if [ -f /lib/gentoo/functions.sh ]; then
-+ . /lib/gentoo/functions.sh
++if [ -f /usr/libexec/gentoo/functions.sh ]; then
++ . /usr/libexec/gentoo/functions.sh
fi
-#We only have these functions on debian/ubuntu