Diff usbmon-6.1 with a usbmon-6.1-r1
/usr/portage/sys-apps/usbmon/usbmon-6.1-r1.ebuild 2023-10-09 14:52:35.416368500 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=6 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit toolchain-funcs |
7 | 7 | |
... | ... | |
12 | 12 |
LICENSE="GPL-2" # GPL-2 only |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="~amd64 ~ppc ~x86" |
15 |
IUSE="" |
|
16 | 15 | |
17 | 16 |
src_prepare() { |
18 | 17 |
default |
19 |
sed -e 's:-O2::g' -i "${S}"/Makefile || die |
|
18 | ||
19 |
sed -i \ |
|
20 |
-e 's:-O2::g' \ |
|
21 |
-e '/_FORTIFY_SOURCE/d' \ |
|
22 |
Makefile || die |
|
23 | ||
20 | 24 |
tc-export CC |
21 | 25 |
} |
22 | 26 |