Diff ethq-0.5.0 with a ethq-0.6.1
/usr/portage/sys-apps/ethq/ethq-0.6.1.ebuild 2023-10-09 14:52:35.368368498 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
18 | 18 |
IUSE="test" |
19 | 19 |
RESTRICT="!test? ( test )" |
20 | 20 | |
21 |
DEPEND="sys-libs/ncurses:0=" |
|
21 |
DEPEND="sys-libs/ncurses:=" |
|
22 | 22 |
RDEPEND="${DEPEND}" |
23 |
BDEPEND="virtual/pkgconfig" |
|
24 | 23 | |
25 | 24 |
S="${WORKDIR}/${MY_P}" |
26 | 25 | |
27 | 26 |
src_prepare() { |
28 | 27 |
default |
29 | 28 | |
30 |
# Respect FLAGS |
|
31 |
sed -i \ |
|
32 |
-e '/CXXFLAGS/s/= -O3/+=/' \ |
|
33 |
-e 's/ -Werror//' \ |
|
29 |
# Respect FLAGS, remove Werror |
|
30 |
sed -i -e '/CXXFLAGS/s/= -O3/+=/' \ |
|
31 |
-e '/CXXFLAGS/s/ -Werror//' \ |
|
34 | 32 |
-e '/LDFLAGS/s/=/+=/' Makefile || die "sed failed for Makefile" |
35 | 33 | |
36 | 34 |
if ! use test ; then |