diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 16:10:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-05-21 16:10:46 +0100 |
commit | 357c77baa3f7c3e197c6b5a9ae091913c4dce74b (patch) | |
tree | 5032a277e114fc8723322dff45e9fd77a2603a17 /sys-apps/openrc/openrc-0.26.2-r1704.ebuild | |
parent | b2ea57ff35cc35f5704a204abe4f7160bc11c0f2 (diff) |
sys-apps/openrc - integrate dkms
Diffstat (limited to 'sys-apps/openrc/openrc-0.26.2-r1704.ebuild')
-rw-r--r-- | sys-apps/openrc/openrc-0.26.2-r1704.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys-apps/openrc/openrc-0.26.2-r1704.ebuild b/sys-apps/openrc/openrc-0.26.2-r1704.ebuild index 10d99041..e98ee44c 100644 --- a/sys-apps/openrc/openrc-0.26.2-r1704.ebuild +++ b/sys-apps/openrc/openrc-0.26.2-r1704.ebuild @@ -18,7 +18,7 @@ fi LICENSE="BSD-2" SLOT="0" -IUSE="audit debug ncurses pam newnet prefix +netifrc selinux static-libs +IUSE="audit debug +dkms ncurses pam newnet prefix +netifrc selinux static-libs unicode kernel_linux kernel_FreeBSD" COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd ) ) @@ -40,6 +40,7 @@ COMMON_DEPEND="kernel_FreeBSD? ( || ( >=sys-freebsd/freebsd-ubin-9.0_rc sys-proc !<sys-fs/udev-init-scripts-27" DEPEND="${COMMON_DEPEND} virtual/os-headers + dkms? ( sys-kernel/dkms ) ncurses? ( virtual/pkgconfig )" RDEPEND="${COMMON_DEPEND} !prefix? ( @@ -66,6 +67,10 @@ src_prepare() { local ver="git-${EGIT_VERSION:0:6}" sed -i "/^GITVER[[:space:]]*=/s:=.*:=${ver}:" mk/gitver.mk || die fi + + if use dkms ; then + epatch ${FILESDIR}/${PN}-dkms.patch + fi } src_compile() { @@ -284,6 +289,11 @@ pkg_postinst() { fi fi + if use dkms; then + elog "Auto-adding DKMS to boot runlevel" + ln -sf /etc/init.d/dkms /etc/runlevels/boot + fi + if use hppa; then elog "Setting the console font does not work on all HPPA consoles." elog "You can still enable it by running:" |