diff options
author | Sam James <sam@gentoo.org> | 2022-12-24 12:48:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-24 12:48:12 +0000 |
commit | 4c08de68081e422694cc12c1adb0a4f5092289b6 (patch) | |
tree | 1721d0a6edf2499e5a21f520a1a9677dd628df0e /net-misc/ethercard-diag | |
parent | net-dialup/mingetty: EAPI 8 (diff) | |
download | gentoo-4c08de68081e422694cc12c1adb0a4f5092289b6.tar.gz gentoo-4c08de68081e422694cc12c1adb0a4f5092289b6.tar.bz2 gentoo-4c08de68081e422694cc12c1adb0a4f5092289b6.zip |
net-misc/ethercard-diag: EAPI 8
Closes: https://bugs.gentoo.org/861614
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/ethercard-diag')
-rw-r--r-- | net-misc/ethercard-diag/ethercard-diag-20050321.1g-r2.ebuild (renamed from net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild) | 11 |
1 files 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 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 } |