Diff ne-3.3.1 with a ne-3.3.2
/usr/portage/app-editors/ne/ne-3.3.2.ebuild 2023-10-09 14:52:28.284368320 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
... | ... | |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
15 | 15 | |
16 |
BDEPEND="virtual/pkgconfig" |
|
17 | 16 |
DEPEND="sys-libs/ncurses:=" |
18 | 17 |
RDEPEND=" |
19 | 18 |
${DEPEND} |
20 | 19 |
dev-lang/perl |
21 | 20 |
" |
21 |
BDEPEND="virtual/pkgconfig" |
|
22 | 22 | |
23 | 23 |
HTML_DOCS=( doc/html/. ) |
24 | 24 | |
... | ... | |
29 | 29 |
src_prepare() { |
30 | 30 |
default |
31 | 31 | |
32 |
sed -i -e 's/-O3//' src/makefile || die |
|
32 |
sed -i \ |
|
33 |
-e 's/-O3//' \ |
|
34 |
-e 's/-Wp,-D_FORTIFY_SOURCE=2//' \ |
|
35 |
src/makefile || die |
|
33 | 36 |
} |
34 | 37 | |
35 | 38 |
src_configure() { |
... | ... | |
39 | 42 | |
40 | 43 |
src_compile() { |
41 | 44 |
append-cflags -std=c11 |
45 | ||
42 | 46 |
emake -C src CC="$(tc-getCC)" \ |
43 | 47 |
NE_GLOBAL_DIR="/usr/share/${PN}" \ |
44 | 48 |
OPTS="${CFLAGS}" \ |