Diff carbon-c-relay-3.7.4-r1 with a carbon-c-relay-3.7.4-r2
/usr/portage/app-misc/carbon-c-relay/carbon-c-relay-3.7.4-r2.ebuild 2023-10-09 14:52:28.788368332 +0300 | ||
---|---|---|
10 | 10 |
LICENSE="Apache-2.0" |
11 | 11 |
SLOT="0" |
12 | 12 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x64-macos ~x64-solaris" |
13 |
IUSE="lz4 snappy zlib ssl pcre pcre2 +oniguruma" |
|
13 |
IUSE="lz4 snappy zlib ssl pcre2 +oniguruma" |
|
14 | 14 | |
15 |
# ensure only one of pcre, pcre2 and oniguruma is set, or none (libc) |
|
16 |
# unforunately pcre is in global USE, so we have to exclude that here |
|
15 |
# ensure only one of pcre2 and oniguruma is set, or none (libc) |
|
17 | 16 |
REQUIRED_USE=" |
18 | 17 |
pcre2? ( !oniguruma ) |
19 | 18 |
oniguruma? ( !pcre2 ) |
... | ... | |
22 | 21 |
snappy? ( app-arch/snappy ) |
23 | 22 |
zlib? ( app-arch/gzip ) |
24 | 23 |
ssl? ( dev-libs/openssl:0= ) |
25 |
!oniguruma? ( !pcre2? ( pcre? ( dev-libs/libpcre ) ) ) |
|
26 | 24 |
pcre2? ( dev-libs/libpcre2 ) |
27 | 25 |
oniguruma? ( dev-libs/oniguruma ) |
28 | 26 |
acct-group/carbon |
... | ... | |
30 | 28 |
DEPEND="${RDEPEND}" |
31 | 29 | |
32 | 30 |
src_configure() { |
33 |
local pcrecfg |
|
34 |
if use !pcre2 && use !oniguruma ; then |
|
35 |
pcrecfg=$(use_with pcre) |
|
36 |
else |
|
37 |
pcrecfg="--without-pcre" |
|
38 |
fi |
|
39 | ||
40 |
econf $(use_with lz4) $(use_with snappy) \ |
|
41 |
$(use_with ssl) $(use_with zlib gzip) \ |
|
42 |
"${pcrecfg}" $(use_with pcre2) $(use_with oniguruma) |
|
31 |
econf \ |
|
32 |
$(use_with lz4) \ |
|
33 |
$(use_with snappy) \ |
|
34 |
$(use_with ssl) \ |
|
35 |
$(use_with zlib gzip) \ |
|
36 |
--without-pcre \ |
|
37 |
$(use_with pcre2) \ |
|
38 |
$(use_with oniguruma) |
|
43 | 39 |
} |
44 | 40 | |
45 | 41 |
src_install() { |