diff options
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:" |