1 |
commit: db427c54c0a8b7423640983e520cc3c13903f8cc |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Wed Dec 16 02:00:00 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 18:39:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db427c54 |
7 |
|
8 |
dev-libs/oniguruma: Synchronize ebuilds. |
9 |
|
10 |
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
11 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
12 |
|
13 |
dev-libs/oniguruma/oniguruma-9999.ebuild | 26 +++++++++++++++++++------- |
14 |
1 file changed, 19 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/oniguruma/oniguruma-9999.ebuild b/dev-libs/oniguruma/oniguruma-9999.ebuild |
17 |
index 4c0eebf2c0c..405b066a532 100644 |
18 |
--- a/dev-libs/oniguruma/oniguruma-9999.ebuild |
19 |
+++ b/dev-libs/oniguruma/oniguruma-9999.ebuild |
20 |
@@ -1,27 +1,38 @@ |
21 |
# Copyright 2003-2020 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=7 |
25 |
+EAPI="7" |
26 |
|
27 |
inherit multilib-minimal |
28 |
|
29 |
if [[ "${PV}" == "9999" ]]; then |
30 |
inherit autotools git-r3 |
31 |
+ |
32 |
EGIT_REPO_URI="https://github.com/kkos/oniguruma" |
33 |
-else |
34 |
- SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz" |
35 |
- S="${WORKDIR}/onig-${PV}" |
36 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
37 |
fi |
38 |
|
39 |
DESCRIPTION="Regular expression library for different character encodings" |
40 |
HOMEPAGE="https://github.com/kkos/oniguruma" |
41 |
+if [[ "${PV}" == "9999" ]]; then |
42 |
+ SRC_URI="" |
43 |
+else |
44 |
+ SRC_URI="https://github.com/kkos/${PN}/releases/download/v${PV}/onig-${PV}.tar.gz" |
45 |
+fi |
46 |
|
47 |
LICENSE="BSD-2" |
48 |
SLOT="0/5" |
49 |
+KEYWORDS="" |
50 |
IUSE="crnl-as-line-terminator static-libs" |
51 |
|
52 |
-DOCS=( AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES} ) |
53 |
+BDEPEND="" |
54 |
+DEPEND="" |
55 |
+RDEPEND="" |
56 |
+ |
57 |
+if [[ "${PV}" != "9999" ]]; then |
58 |
+ S="${WORKDIR}/onig-${PV}" |
59 |
+fi |
60 |
+ |
61 |
+DOCS=(AUTHORS HISTORY README{,_japanese} doc/{API,CALLOUTS.API,CALLOUTS.BUILTIN,FAQ,RE}{,.ja} doc/{SYNTAX.md,UNICODE_PROPERTIES}) |
62 |
|
63 |
src_prepare() { |
64 |
default |
65 |
@@ -33,11 +44,12 @@ src_prepare() { |
66 |
|
67 |
multilib_src_configure() { |
68 |
ECONF_SOURCE="${S}" econf \ |
69 |
+ --enable-posix-api \ |
70 |
$(use_enable crnl-as-line-terminator) \ |
71 |
$(use_enable static-libs static) |
72 |
} |
73 |
|
74 |
multilib_src_install_all() { |
75 |
einstalldocs |
76 |
- find "${ED}" -name "*.la" -type f -delete || die |
77 |
+ find "${ED}" -name "*.la" -delete || die |
78 |
} |