commit: 4c08de68081e422694cc12c1adb0a4f5092289b6 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Dec 24 12:48:12 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Dec 24 12:48:12 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c08de68
net-misc/ethercard-diag: EAPI 8 Closes: https://bugs.gentoo.org/861614 Signed-off-by: Sam James <sam <AT> gentoo.org> ...0321.1g-r1.ebuild => ethercard-diag-20050321.1g-r2.ebuild} | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild similarity index 90% rename from net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild rename to net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild index d58d982a7f4c..892adaedf6f7 100644 --- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild +++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 -inherit toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="Low level mii diagnostic tools including mii-diag and etherwake" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" @@ -12,22 +12,27 @@ SRC_URI="mirror://gentoo/${P}.tar.lzma" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND="!sys-apps/nictools" src_prepare() { default + # Since the binary is `ether-wake`, make sure the man page is # `man ether-wake` and not `man etherwake`. #439504 sed -i \ -e 's/ETHERWAKE/ETHER-WAKE/' \ -e 's/etherwake/ether-wake/' \ pub/diag/{etherwake.8,Makefile} patches/* || die + mv pub/diag/ether{,-}wake.8 || die } src_compile() { tc-export CC AR + + # bug #861614 + filter-lto + default }