Сравнение gprolog-1.4.5 с gprolog-1.5.0
/usr/portage/dev-lang/gprolog/gprolog-1.5.0.ebuild 2023-10-09 14:52:29.460368349 +0300 | ||
---|---|---|
12 | 12 | |
13 | 13 |
LICENSE="|| ( GPL-2+ LGPL-3+ )" |
14 | 14 |
SLOT="0" |
15 |
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
15 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
16 | 16 |
IUSE="debug doc examples" |
17 | 17 | |
18 | 18 |
PATCHES=( |
19 | 19 |
"${FILESDIR}"/${P}-ldflags.patch |
20 | 20 |
"${FILESDIR}"/${P}-links.patch |
21 |
"${FILESDIR}"/${P}-nodocs.patch |
|
22 |
"${FILESDIR}"/${P}-txt-file.patch |
|
23 |
"${FILESDIR}"/${P}-check-boot.patch |
|
21 |
"${FILESDIR}"/${P}-destdir.patch |
|
24 | 22 |
"${FILESDIR}"/${P}-llvm-as.patch |
25 | 23 |
) |
26 | 24 | |
... | ... | |
34 | 32 |
src_configure() { |
35 | 33 |
CFLAGS_MACHINE="`get-flag -march` `get-flag -mcpu` `get-flag -mtune`" |
36 | 34 | |
37 |
# Work around -fno-common (GCC 10 default), bug #71202 |
|
38 |
append-flags -fcommon |
|
39 | ||
40 |
append-flags -fno-strict-aliasing |
|
41 | 35 |
use debug && append-flags -DDEBUG |
42 | 36 | |
43 | 37 |
if tc-enables-pie; then |
... | ... | |
51 | 45 |
gprolog_use_regs=no |
52 | 46 |
fi |
53 | 47 | |
48 |
if tc-is-clang; then |
|
49 |
AS=$(tc-getCC) |
|
50 |
else |
|
51 |
AS=$(tc-getAS) |
|
52 |
fi |
|
53 | ||
54 | 54 |
cd "${S}"/src || die |
55 | 55 |
econf \ |
56 |
AS="${AS}" \ |
|
56 | 57 |
CFLAGS_MACHINE="${CFLAGS_MACHINE}" \ |
57 | 58 |
--with-c-flags="${CFLAGS}" \ |
58 | 59 |
--with-install-dir="${EPREFIX}"/usr/$(get_libdir)/${P} \ |
... | ... | |
78 | 79 | |
79 | 80 |
src_install() { |
80 | 81 |
cd "${S}"/src || die |
81 |
emake DESTDIR="${D}" install |
|
82 |
emake DESTDIR="${D}" TXT_FILES= install |
|
82 | 83 | |
83 | 84 |
cd "${S}" || die |
84 | 85 |
dodoc ChangeLog NEWS PROBLEMS README |