diff --git a/sys-libs/liburing/liburing-2.3-r1.ebuild b/sys-libs/liburing/liburing-2.3-r2.ebuild similarity index 89% rename from sys-libs/liburing/liburing-2.3-r1.ebuild rename to sys-libs/liburing/liburing-2.3-r2.ebuild index e769ea9908cce..2140c9daaf910 100644 --- a/sys-libs/liburing/liburing-2.3-r1.ebuild +++ b/sys-libs/liburing/liburing-2.3-r2.ebuild @@ -17,9 +17,9 @@ fi LICENSE="MIT" SLOT="0/2" # liburing.so major version -IUSE="static-libs" +IUSE="examples static-libs test" # fsync test hangs forever -RESTRICT="test" +RESTRICT="test !test? ( test )" # At least installed headers need , bug #802516 DEPEND=">=sys-kernel/linux-headers-5.1" @@ -39,6 +39,13 @@ src_prepare() { sed -i "/^Version:/s@[[:digit:]\.]\+@${PV}@" ${PN}.spec || die fi + if ! use examples; then + sed -e '/examples/d' Makefile -i || die + fi + if ! use test; then + sed -e '/test/d' Makefile -i || die + fi + multilib_copy_sources }