1 |
commit: 5f3a7d49a6ce95d321a89863a7fa8023ae798383 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 00:20:10 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 02:34:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f3a7d49 |
7 |
|
8 |
sys-block/scsiping: EAPI7->8, respect CC, remove dead HOMEPAGE |
9 |
|
10 |
Closes: https://bugs.gentoo.org/725768 |
11 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
12 |
|
13 |
sys-block/scsiping/scsiping-0.0.1-r1.ebuild | 15 +++++++++------ |
14 |
1 file changed, 9 insertions(+), 6 deletions(-) |
15 |
|
16 |
diff --git a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild |
17 |
index c3cc60f5cb01..745fd177ef62 100644 |
18 |
--- a/sys-block/scsiping/scsiping-0.0.1-r1.ebuild |
19 |
+++ b/sys-block/scsiping/scsiping-0.0.1-r1.ebuild |
20 |
@@ -1,23 +1,26 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=7 |
26 |
+EAPI=8 |
27 |
+ |
28 |
+inherit toolchain-funcs |
29 |
|
30 |
DESCRIPTION="SCSIPing pings a host on the SCSI-chain" |
31 |
-HOMEPAGE="https://www.vanheusden.com/Linux/" |
32 |
-SRC_URI="https://www.vanheusden.com/Linux/${P}.tgz" |
33 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" |
34 |
+SRC_URI="mirror://gentoo/${P}.tgz" |
35 |
|
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="amd64 ppc x86" |
39 |
|
40 |
src_prepare() { |
41 |
- sed -i -e '/strip scsiping/d' "${S}"/Makefile |
42 |
default |
43 |
+ |
44 |
+ sed -i '/strip scsiping/d' Makefile || die |
45 |
} |
46 |
|
47 |
src_compile() { |
48 |
- emake DEBUG='' CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" |
49 |
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
50 |
} |
51 |
|
52 |
src_install() { |