Сравнение guile-2.2.7-r1 с guile-3.0.8-r1

/usr/portage/dev-scheme/guile/guile-3.0.8-r1.ebuild 2023-10-09 14:52:30.900368386 +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
EAPI=7
4
EAPI=8
5 5

  
6
MAJOR="2.2"
6
inherit autotools
7

  
8
MAJOR="3.0"
7 9
DESCRIPTION="GNU Ubiquitous Intelligent Language for Extensions"
8 10
HOMEPAGE="https://www.gnu.org/software/guile/"
9 11
SRC_URI="mirror://gnu/guile/${P}.tar.xz"
10 12

  
11 13
LICENSE="LGPL-3+"
12
SLOT="12/2.2-1" # libguile-2.2.so.1 => 2.2-1
13
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
14
IUSE="debug debug-malloc +deprecated +networking +nls +regex +threads" # upstream recommended +networking +nls
14
SLOT="12/3.0-1" # libguile-2.2.so.1 => 2.2-1
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
16

  
17
IUSE="debug debug-malloc +deprecated +jit +networking +nls +regex +threads" # upstream recommended +networking +nls
15 18
REQUIRED_USE="regex" # workaround for bug 596322
16 19
RESTRICT="strip"
17 20

  
18 21
RDEPEND="
19
	>=dev-libs/boehm-gc-7.0:=[threads?]
22
	>=dev-libs/boehm-gc-7.0[threads?]
20 23
	dev-libs/gmp:=
21 24
	dev-libs/libffi:=
22
	dev-libs/libltdl:=
23
	dev-libs/libunistring:0=
24
	sys-libs/ncurses:0=
25
	sys-libs/readline:0=
25
	dev-libs/libatomic_ops
26
	dev-libs/libunistring:=
27
	sys-libs/ncurses:=
28
	sys-libs/readline:=
26 29
	virtual/libcrypt:="
27 30
DEPEND="${RDEPEND}"
28 31
BDEPEND="
......
30 33
	sys-devel/libtool
31 34
	sys-devel/gettext"
32 35

  
36
# guile generates ELF files without use of C or machine code
37
# It's false positive. bug #677600
38
QA_PREBUILT='*[.]go'
39

  
40
DOCS=( GUILE-VERSION HACKING README )
41

  
33 42
PATCHES=(
34 43
	"${FILESDIR}/${PN}-2.2.3-gentoo-sandbox.patch"
35
	"${FILESDIR}/${PN}-2.2.7-stack-up.patch"
44
	"${FILESDIR}/${P}-configure-clang16.patch"
36 45
)
37 46

  
38
# guile generates ELF files without use of C or machine code
39
# It's a portage's false positive. bug #677600
40
QA_PREBUILT='*[.]go'
47
src_prepare() {
48
	default
41 49

  
42
DOCS=( GUILE-VERSION HACKING README )
50
	# Can drop once guile-3.0.8-configure-clang16.patch merged
51
	eautoreconf
52
}
43 53

  
44 54
src_configure() {
45 55
	# see bug #676468
......
48 58
	econf \
49 59
		--disable-error-on-warning \
50 60
		--disable-rpath \
51
		--disable-static \
61
		--disable-lto \
52 62
		--enable-posix \
53 63
		--without-libgmp-prefix \
54 64
		--without-libiconv-prefix \
55 65
		--without-libintl-prefix \
56
		--without-libltdl-prefix \
57 66
		--without-libreadline-prefix \
58 67
		--without-libunistring-prefix \
59 68
		$(use_enable debug guile-debug) \
60 69
		$(use_enable debug-malloc) \
61 70
		$(use_enable deprecated) \
71
		$(use_enable jit) \
62 72
		$(use_enable networking) \
63 73
		$(use_enable nls) \
64 74
		$(use_enable regex) \
......
73 83
	dodir /usr/share/gdb/auto-load/$(get_libdir)
74 84
	mv "${ED}"/usr/$(get_libdir)/libguile-*-gdb.scm "${ED}"/usr/share/gdb/auto-load/$(get_libdir) || die
75 85

  
76
	# necessary for registering slib, see bug 206896
86
	# necessary for registering slib, see bug #206896
77 87
	keepdir /usr/share/guile/site
78 88

  
79
	find "${D}" -name '*.la' -delete || die
89
	find "${ED}" -name '*.la' -delete || die
80 90
}
Спасибо!