diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-04-25 14:17:44 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-04-25 14:17:44 +0200 |
commit | 3ae5d31d85b344990f2e9ea950ac406459109a1e (patch) | |
tree | 6b1f09b347bf11ea3d788a3dde13f59dd323cadb /sys-kernel | |
parent | dev-util/drone: Remove old (diff) | |
download | gentoo-3ae5d31d85b344990f2e9ea950ac406459109a1e.tar.gz gentoo-3ae5d31d85b344990f2e9ea950ac406459109a1e.tar.bz2 gentoo-3ae5d31d85b344990f2e9ea950ac406459109a1e.zip |
sys-kernel/cryptodev: Remove sed script, fix comment.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-kernel')
-rw-r--r-- | sys-kernel/cryptodev/cryptodev-1.9.ebuild | 12 | ||||
-rw-r--r-- | 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 fe0c8dfebf73..528204b81475 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 1576432f2360..f921bf666bab 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})" |