Сравнение colm-0.14.7 с colm-0.14.7-r1
/usr/portage/dev-util/colm/colm-0.14.7-r1.ebuild 2023-10-09 14:52:30.956368387 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2022 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 autotools toolchain-funcs |
7 | 7 | |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="MIT" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
|
15 | 15 |
IUSE="doc" |
16 | 16 | |
17 | 17 |
BDEPEND=" |
... | ... | |
25 | 25 | |
26 | 26 |
PATCHES=( |
27 | 27 |
"${FILESDIR}"/${PN}-0.14.7-drop-julia-check.patch |
28 |
"${FILESDIR}"/${PN}-0.14.7-disable-static-lib.patch |
|
29 |
"${FILESDIR}"/${PN}-0.14.7-solaris.patch |
|
28 | 30 |
) |
29 | 31 | |
30 | 32 |
src_prepare() { |
... | ... | |
34 | 36 |
sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die |
35 | 37 | |
36 | 38 |
# bug #766069 |
39 |
sed -i -e "s:gcc:$(tc-getCC) ${CFLAGS}:" src/main.cc || die |
|
37 | 40 |
sed -i -e "s:gcc:$(tc-getCC):" test/colm.d/gentests.sh || die |
38 | 41 |
sed -i -e "s:g++:$(tc-getCXX):" test/colm.d/gentests.sh || die |
39 | 42 | |
43 |
# fix linkage on Darwin from colm itself during build |
|
44 |
if [[ ${CHOST} == *-darwin* ]] ; then |
|
45 |
sed -i -e 's/libcolm\.so/libcolm.dylib/' src/main.cc || die |
|
46 |
fi |
|
47 | ||
40 | 48 |
eautoreconf |
41 | 49 |
} |
42 | 50 | |
... | ... | |
52 | 60 |
cd test || die |
53 | 61 |
./runtests || die |
54 | 62 |
} |
55 | ||
56 |
src_install() { |
|
57 |
default |
|
58 | ||
59 |
# NOTE: dev-util/ragel needs the static libraries |
|
60 |
# and .la files, unfortunately. |
|
61 |
# (May have better luck if we use the CMake port?) |
|
62 |
} |