Diff c-intercal-31.0 with a c-intercal-33.0-r1
/usr/portage/dev-lang/c-intercal/c-intercal-33.0-r1.ebuild 2025-02-03 17:39:32.834666942 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
1 |
# Copyright 1999-2025 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 |
inherit autotools elisp-common flag-o-matic |
|
6 |
inherit autotools elisp-common |
|
7 | 7 | |
8 | 8 |
# C-INTERCAL uses minor-major ordering of version components and |
9 | 9 |
# negative version numbers. We map version components -1, -2, ... |
... | ... | |
26 | 26 |
HOMEPAGE="http://www.catb.org/~esr/intercal/ |
27 | 27 |
https://gitlab.com/esr/intercal" |
28 | 28 |
SRC_URI="http://www.catb.org/~esr/intercal/${MY_P}.tar.gz" |
29 |
S="${WORKDIR}/${MY_P}" |
|
29 | 30 | |
30 | 31 |
LICENSE="GPL-2+ FDL-1.2+" |
31 | 32 |
SLOT="0" |
... | ... | |
37 | 38 |
app-alternatives/lex |
38 | 39 |
app-alternatives/yacc" |
39 | 40 | |
40 |
S="${WORKDIR}/${MY_P}" |
|
41 | 41 |
SITEFILE="50${PN}-gentoo.el" |
42 | 42 | |
43 | 43 |
src_prepare() { |
44 |
eapply "${FILESDIR}"/${P}-version.patch |
|
45 |
eapply "${FILESDIR}"/${P}-no-common.patch |
|
46 |
eapply_user |
|
47 |
eautoreconf |
|
48 |
} |
|
49 | ||
50 |
src_configure() { |
|
51 |
# -Werror=lto-type-mismatch |
|
52 |
# https://bugs.gentoo.org/855590 |
|
53 |
# https://gitlab.com/esr/intercal/-/issues/7 |
|
54 |
filter-lto |
|
55 | ||
56 |
append-cflags $(test-flags-CC -fno-toplevel-reorder) #722862 |
|
57 |
econf |
|
44 |
default |
|
45 |
eautoreconf #948911 |
|
58 | 46 |
} |
59 | 47 | |
60 | 48 |
src_compile() { |