Diff ragel-7.0.0.12 with a ragel-7.0.4
/usr/portage/dev-util/ragel/ragel-7.0.4.ebuild 2023-10-09 14:52:30.992368388 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="MIT" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos" |
|
15 |
IUSE="vim-syntax" |
|
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" |
|
15 |
IUSE="doc" |
|
16 | 16 | |
17 |
DEPEND="~dev-util/colm-0.13.0.7" |
|
17 |
# Notes from bug #766090 |
|
18 |
# dev-libs/libxml2's xmllint ends up being called by asciidoc here |
|
19 |
# app-text/dblatex too |
|
20 |
# app-text/ghostscript-gpl too |
|
21 |
BDEPEND=" |
|
22 |
doc? ( |
|
23 |
|| ( app-text/asciidoc dev-ruby/asciidoctor ) |
|
24 |
app-text/dblatex |
|
25 |
app-text/ghostscript-gpl |
|
26 |
dev-libs/libxml2 |
|
27 |
dev-texlive/texlive-latex |
|
28 |
dev-python/pygments |
|
29 |
media-gfx/transfig |
|
30 |
) |
|
31 |
" |
|
32 |
DEPEND="~dev-util/colm-0.14.7" |
|
18 | 33 |
RDEPEND="${DEPEND}" |
19 | 34 | |
35 |
PATCHES=( |
|
36 |
"${FILESDIR}"/${PN}-7.0.4-drop-julia-check.patch |
|
37 |
) |
|
38 | ||
20 | 39 |
src_prepare() { |
21 | 40 |
default |
41 | ||
42 |
# Fix hardcoded search dir |
|
43 |
sed -i -e "s:\$withval/lib:\$withval/$(get_libdir):" configure.ac || die |
|
44 | ||
45 |
# Allow either asciidoctor or asciidoc |
|
46 |
# bug #733426 |
|
47 |
sed -i -e 's/(\[ASCIIDOC\], \[asciidoc\], \[asciidoc\]/S([ASCIIDOC], [asciidoc asciidoctor]/' configure.ac || die |
|
48 | ||
22 | 49 |
eautoreconf |
23 | 50 |
} |
24 | 51 | |
25 | 52 |
src_configure() { |
26 |
econf --disable-static |
|
53 |
econf \ |
|
54 |
--with-colm="${EPREFIX}/usr" \ |
|
55 |
$(use_enable doc manual) |
|
27 | 56 |
} |
28 | 57 | |
29 | 58 |
src_install() { |
30 |
if use vim-syntax; then |
|
31 |
insinto /usr/share/vim/vimfiles/syntax |
|
32 |
doins ragel.vim |
|
33 |
fi |
|
34 | 59 |
default |
35 |
find "${D}" -name '*.la' -delete || die |
|
60 | ||
61 |
insinto /usr/share/vim/vimfiles/syntax |
|
62 |
doins ragel.vim |
|
63 | ||
64 |
find "${ED}" -name '*.la' -delete || die |
|
36 | 65 |
} |