Diff pecl-apcu-5.1.21 with a pecl-apcu-5.1.22

/usr/portage/dev-php/pecl-apcu/pecl-apcu-5.1.22.ebuild 2023-10-09 14:52:30.236368369 +0300
1 1
# Copyright 1999-2023 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
PHP_EXT_NAME="apcu"
7 6
PHP_EXT_INI="yes"
7
PHP_EXT_NAME="apcu"
8 8
PHP_EXT_ZENDEXT="no"
9
DOCS=( NOTICE README.md TECHNOTES.txt )
10

  
11
USE_PHP="php8-0 php8-1"
9
USE_PHP="php8-0 php8-1 php8-2"
12 10

  
13 11
inherit php-ext-pecl-r3
14 12

  
15
KEYWORDS="amd64 ~arm arm64 x86"
16

  
17 13
DESCRIPTION="Stripped down version of APC supporting only user cache"
14

  
18 15
LICENSE="PHP-3.01"
19 16
SLOT="7"
17
KEYWORDS="amd64 ~arm ~arm64 ~x86"
20 18

  
21 19
LOCKS="pthreadmutex pthreadrw spinlock semaphore"
22

  
23 20
LUSE=""
24 21
for l in ${LOCKS}; do
25 22
	LUSE+="lock-${l} "
26 23
done
27

  
28 24
IUSE="+mmap ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
29

  
30 25
REQUIRED_USE="^^ ( $LUSE )"
31 26

  
27
DOCS=( NOTICE README.md TECHNOTES.txt )
28

  
32 29
src_configure() {
33 30
	local PHP_EXT_ECONF_ARGS=(
34 31
		--enable-apcu
35 32
		$(use_enable mmap apcu-mmap)
36 33
		$(use_enable lock-spinlock apcu-spinlocks)
37 34
	)
35

  
38 36
	# Broken upstream autoconf test disables if present at all
39 37
	use lock-pthreadrw || PHP_EXT_ECONF_ARGS+=( --disable-apcu-rwlocks )
40 38

  
......
49 47
}
50 48

  
51 49
pkg_postinst() {
52
	elog "The apc.php file shipped with this release of pecl-apcu was"
53
	elog "installed to ${EPREFIX}/usr/share/php7/apcu/."
50
	elog "The apc.php file shipped with this release of pecl-apcu"
51
	elog "was installed to ${EPREFIX}/usr/share/php7/apcu/."
54 52
}
Thank you!