Сравнение dash-0.5.11.5 с dash-0.5.12
/usr/portage/app-shells/dash/dash-0.5.12.ebuild 2023-10-09 14:52:28.856368334 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit flag-o-matic toolchain-funcs |
7 | 7 | |
... | ... | |
16 | 16 | |
17 | 17 |
BDEPEND="virtual/pkgconfig" |
18 | 18 |
RDEPEND="!static? ( libedit? ( dev-libs/libedit ) )" |
19 |
DEPEND="${RDEPEND} |
|
20 |
libedit? ( static? ( dev-libs/libedit[static-libs] ) )" |
|
21 | ||
22 |
PATCHES=( |
|
23 |
"${FILESDIR}/${PN}-0.5.11.3-check_nflag_in_evaltree.patch" #754267 |
|
24 |
) |
|
19 |
DEPEND=" |
|
20 |
${RDEPEND} |
|
21 |
libedit? ( static? ( dev-libs/libedit[static-libs] ) ) |
|
22 |
" |
|
25 | 23 | |
26 | 24 |
src_prepare() { |
27 | 25 |
default |
28 | 26 | |
29 | 27 |
# Fix the invalid sort |
30 |
sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins |
|
28 |
sed -i -e 's/LC_COLLATE=C/LC_ALL=C/g' src/mkbuiltins || die |
|
31 | 29 | |
32 | 30 |
# Use pkg-config for libedit linkage |
33 | 31 |
sed -i \ |
... | ... | |
41 | 39 |
export ac_cv_func_stat64=yes |
42 | 40 |
export ac_cv_func_open64=yes |
43 | 41 |
fi |
42 | ||
44 | 43 |
if [[ ${CHOST} == powerpc-*-darwin* ]] ; then |
45 | 44 |
sed -i -e 's/= stpncpy(s, \([^,]\+\), \([0-9]\+\))/+= snprintf(s, \2, "%s", \1)/' \ |
46 | 45 |
src/jobs.c || die |
47 | 46 |
fi |
48 |
append-cppflags -DJOBS=$(usex libedit 1 0) |
|
47 | ||
49 | 48 |
use static && append-ldflags -static |
49 | ||
50 |
append-cppflags -DJOBS=$(usex libedit 1 0) |
|
51 | ||
50 | 52 |
# Do not pass --enable-glob due to #443552. |
51 | 53 |
local myeconfargs=( |
52 | 54 |
CC_FOR_BUILD="$(tc-getBUILD_CC)" |
... | ... | |
54 | 56 |
--enable-fnmatch |
55 | 57 |
$(use_with libedit) |
56 | 58 |
) |
59 | ||
57 | 60 |
econf "${myeconfargs[@]}" |
58 | 61 |
} |