commit:     1fa58dd95ad7ddfd72f7f72d1b3cb4745e5a3936
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 20 05:08:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 20 05:08:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fa58dd9

dev-libs/libaio: EAPI 8, drop usr-ldscript

* EAPI 8
* Drop usr-ldscript per news item

Bug: https://bugs.gentoo.org/325355
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../libaio/{libaio-9999.ebuild => libaio-0.3.113-r1.ebuild}  | 12 ++++++------
 dev-libs/libaio/libaio-9999.ebuild                           | 11 +++++------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/dev-libs/libaio/libaio-9999.ebuild 
b/dev-libs/libaio/libaio-0.3.113-r1.ebuild
similarity index 91%
copy from dev-libs/libaio/libaio-9999.ebuild
copy to dev-libs/libaio/libaio-0.3.113-r1.ebuild
index db2f93f97564..f122b3a77785 100644
--- a/dev-libs/libaio/libaio-9999.ebuild
+++ b/dev-libs/libaio/libaio-0.3.113-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript
+inherit multilib-minimal toolchain-funcs flag-o-matic
 
 DESCRIPTION="Asynchronous input/output library that uses the kernels native 
interface"
 HOMEPAGE="https://pagure.io/libaio";
+
 if [[ ${PV} == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://pagure.io/libaio.git";
@@ -14,6 +15,7 @@ else
        SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
+
 LICENSE="LGPL-2"
 SLOT="0"
 IUSE="static-libs test"
@@ -22,6 +24,7 @@ RESTRICT="!test? ( test )"
 PATCHES=(
        "${FILESDIR}"/${PN}-0.3.112-cppflags.patch
        "${FILESDIR}"/${PN}-0.3.113-respect-LDFLAGS.patch
+       "${FILESDIR}"/${PN}-0.3.113-32-bit-tests.patch
 )
 
 src_prepare() {
@@ -83,9 +86,6 @@ multilib_src_install_all() {
        doman man/*
        dodoc ChangeLog TODO
 
-       # move to / for multipath-tools, bug #325355
-       gen_usr_ldscript -a aio
-
        # This lib is a bare minimal shim on top of kernel syscalls.
        export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf 
'/%P\n')
 }

diff --git a/dev-libs/libaio/libaio-9999.ebuild 
b/dev-libs/libaio/libaio-9999.ebuild
index db2f93f97564..9066780e1381 100644
--- a/dev-libs/libaio/libaio-9999.ebuild
+++ b/dev-libs/libaio/libaio-9999.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit multilib-minimal toolchain-funcs flag-o-matic usr-ldscript
+inherit multilib-minimal toolchain-funcs flag-o-matic
 
 DESCRIPTION="Asynchronous input/output library that uses the kernels native 
interface"
 HOMEPAGE="https://pagure.io/libaio";
+
 if [[ ${PV} == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://pagure.io/libaio.git";
@@ -14,6 +15,7 @@ else
        SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
+
 LICENSE="LGPL-2"
 SLOT="0"
 IUSE="static-libs test"
@@ -83,9 +85,6 @@ multilib_src_install_all() {
        doman man/*
        dodoc ChangeLog TODO
 
-       # move to / for multipath-tools, bug #325355
-       gen_usr_ldscript -a aio
-
        # This lib is a bare minimal shim on top of kernel syscalls.
        export QA_DT_NEEDED=$(find "${ED}" -type f -name 'libaio.so.*' -printf 
'/%P\n')
 }

Reply via email to