1 |
Hey, |
2 |
|
3 |
merged, thanks! I squashed your commits 2-4 to a single one, and added |
4 |
the CFLAGS sed's back due to: |
5 |
|
6 |
* Messages for package net-irc/ii-1.8: |
7 |
* Log file: |
8 |
/var/tmp/portage/vbslogs/build/net-irc/ii-1.8:20210507-122242.log |
9 |
|
10 |
* QA Notice: Files built without respecting CFLAGS have been detected |
11 |
* Please include the following list of files in your report: |
12 |
* /usr/bin/ii |
13 |
|
14 |
* Messages for package net-irc/ii-9999: |
15 |
* Log file: |
16 |
/var/tmp/portage/vbslogs/build/net-irc/ii-9999:20210507-122233.log |
17 |
|
18 |
* QA Notice: Files built without respecting CFLAGS have been detected |
19 |
* Please include the following list of files in your report: |
20 |
* /usr/bin/ii |
21 |
|
22 |
In future you can use |
23 |
https://wiki.gentoo.org/wiki/Package_testing#make.conf these settings to |
24 |
test your ebuilds and see these QA notices. |
25 |
|
26 |
-- juippis |
27 |
|
28 |
On 17.4.2021 19.52, Vladimir Kuznetsov wrote: |
29 |
> Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
30 |
> Signed-off-by: Vladimir Kuznetsov <fulade@××××××.net> |
31 |
> --- |
32 |
> net-irc/ii/ii-1.8.ebuild | 17 ++++++----------- |
33 |
> net-irc/ii/ii-9999.ebuild | 18 ++++++------------ |
34 |
> 2 files changed, 12 insertions(+), 23 deletions(-) |
35 |
> |
36 |
> diff --git a/net-irc/ii/ii-1.8.ebuild b/net-irc/ii/ii-1.8.ebuild |
37 |
> index 8602091e7e7..5ef9e5bdca9 100644 |
38 |
> --- a/net-irc/ii/ii-1.8.ebuild |
39 |
> +++ b/net-irc/ii/ii-1.8.ebuild |
40 |
> @@ -1,36 +1,31 @@ |
41 |
> # Copyright 1999-2021 Gentoo Authors |
42 |
> # Distributed under the terms of the GNU General Public License v2 |
43 |
> |
44 |
> EAPI=7 |
45 |
> inherit toolchain-funcs |
46 |
> |
47 |
> DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" |
48 |
> HOMEPAGE="https://tools.suckless.org/ii/" |
49 |
> SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" |
50 |
> |
51 |
> LICENSE="MIT" |
52 |
> SLOT="0" |
53 |
> KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux" |
54 |
> |
55 |
> src_prepare() { |
56 |
> default |
57 |
> |
58 |
> - sed -i \ |
59 |
> - -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ |
60 |
> - -e '/^CC/d' \ |
61 |
> - -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ |
62 |
> - config.mk || die |
63 |
> - sed -i \ |
64 |
> - -e 's|@${CC}|$(CC)|g' \ |
65 |
> - Makefile || die |
66 |
> + sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' config.mk || die |
67 |
> } |
68 |
> |
69 |
> src_compile() { |
70 |
> emake CC="$(tc-getCC)" |
71 |
> } |
72 |
> |
73 |
> src_install() { |
74 |
> - dobin ii |
75 |
> - dodoc CHANGES FAQ README |
76 |
> - doman *.1 |
77 |
> + emake \ |
78 |
> + DESTDIR="${D}" \ |
79 |
> + PREFIX="${EPREFIX}"/usr \ |
80 |
> + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ |
81 |
> + install |
82 |
> } |
83 |
> diff --git a/net-irc/ii/ii-9999.ebuild b/net-irc/ii/ii-9999.ebuild |
84 |
> index db00b6528aa..4ba2eac0c28 100644 |
85 |
> --- a/net-irc/ii/ii-9999.ebuild |
86 |
> +++ b/net-irc/ii/ii-9999.ebuild |
87 |
> @@ -1,36 +1,30 @@ |
88 |
> # Copyright 1999-2021 Gentoo Authors |
89 |
> # Distributed under the terms of the GNU General Public License v2 |
90 |
> |
91 |
> EAPI=7 |
92 |
> inherit git-r3 toolchain-funcs |
93 |
> |
94 |
> DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" |
95 |
> HOMEPAGE="https://tools.suckless.org/ii/" |
96 |
> EGIT_REPO_URI="https://git.suckless.org/ii" |
97 |
> |
98 |
> LICENSE="MIT" |
99 |
> SLOT="0" |
100 |
> -KEYWORDS="" |
101 |
> |
102 |
> src_prepare() { |
103 |
> default |
104 |
> |
105 |
> - sed -i \ |
106 |
> - -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ |
107 |
> - -e '/^CC/d' \ |
108 |
> - -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ |
109 |
> - config.mk || die |
110 |
> - sed -i \ |
111 |
> - -e 's|@${CC}|$(CC)|g' \ |
112 |
> - Makefile || die |
113 |
> + sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' config.mk || die |
114 |
> } |
115 |
> |
116 |
> src_compile() { |
117 |
> emake CC="$(tc-getCC)" |
118 |
> } |
119 |
> |
120 |
> src_install() { |
121 |
> - dobin ii |
122 |
> - dodoc CHANGES FAQ README |
123 |
> - doman *.1 |
124 |
> + emake \ |
125 |
> + DESTDIR="${D}" \ |
126 |
> + PREFIX="${EPREFIX}"/usr \ |
127 |
> + DOCPREFIX="${EPREFIX}"/usr/share/doc/${PF} \ |
128 |
> + install |
129 |
> } |
130 |
> |