Diff lua-5.3.6-r102 with a lua-5.4.4-r103
/usr/portage/dev-lang/lua/lua-5.4.4-r103.ebuild 2023-10-09 14:52:29.464368349 +0300 | ||
---|---|---|
11 | 11 |
SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.tar.xz" |
12 | 12 | |
13 | 13 |
LICENSE="MIT" |
14 |
SLOT="5.3" |
|
14 |
SLOT="5.4" |
|
15 | 15 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
16 | 16 |
IUSE="+deprecated readline" |
17 | 17 | |
... | ... | |
22 | 22 |
RDEPEND="${DEPEND}" |
23 | 23 |
BDEPEND="virtual/pkgconfig" |
24 | 24 | |
25 |
PATCHES=( |
|
26 |
"${FILESDIR}/${P}-lparser-overread.patch" |
|
27 |
) |
|
28 | ||
25 | 29 |
src_prepare() { |
26 | 30 |
default |
27 | 31 | |
... | ... | |
34 | 38 |
} |
35 | 39 | |
36 | 40 |
src_configure() { |
37 |
use deprecated && append-cppflags -DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 |
|
41 |
use deprecated && append-cppflags -DLUA_COMPAT_5_3 |
|
38 | 42 |
econf $(use_with readline) |
39 | 43 |
} |
40 | 44 |