commit: 3ae5d31d85b344990f2e9ea950ac406459109a1e
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 25 12:17:44 2017 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Apr 25 12:17:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ae5d31d
sys-kernel/cryptodev: Remove sed script, fix comment.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
sys-kernel/cryptodev/cryptodev-1.9.ebuild | 12 +++---------
sys-kernel/cryptodev/cryptodev-9999.ebuild | 4 ++--
2 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/sys-kernel/cryptodev/cryptodev-1.9.ebuild
b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
index fe0c8dfebf7..528204b8147 100644
--- a/sys-kernel/cryptodev/cryptodev-1.9.ebuild
+++ b/sys-kernel/cryptodev/cryptodev-1.9.ebuild
@@ -14,9 +14,10 @@ SLOT="0"
IUSE="examples"
DEPEND="virtual/linux-sources"
-RDEPEND=""
-#test do not compile
+
+#test requires that the module is already loaded
RESTRICT="test"
+
S=${WORKDIR}/${PN}-linux-${PV}
MODULE_NAMES="cryptodev(extra:${S})"
@@ -38,13 +39,6 @@ pkg_setup() {
export KERNEL_DIR
}
-src_prepare() {
- default
-
- # get_unused_fd was removed in 3.19
- sed -i 's,get_unused_fd(),get_unused_fd_flags(0),' ioctl.c || die
-}
-
src_install() {
linux-mod_src_install
if use examples ; then
diff --git a/sys-kernel/cryptodev/cryptodev-9999.ebuild
b/sys-kernel/cryptodev/cryptodev-9999.ebuild
index 1576432f236..f921bf666ba 100644
--- a/sys-kernel/cryptodev/cryptodev-9999.ebuild
+++ b/sys-kernel/cryptodev/cryptodev-9999.ebuild
@@ -22,8 +22,8 @@ SLOT="0"
IUSE="examples"
DEPEND="virtual/linux-sources"
-RDEPEND=""
-#test now compile, but need the module to run
+
+#test requires that the module is already loaded
RESTRICT="test"
MODULE_NAMES="cryptodev(extra:${S})"