<name>PHP</name>
</maintainer>
<use>
- <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag>
- <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag>
- <flag name="lock_pthreadrw">Enable pthread read/write locking</flag>
- <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag>
+ <flag name="lock-semaphore">Enable semaphore locks instead of fcntl</flag>
+ <flag name="lock-pthreadmutex">Enable pthread mutex locking</flag>
+ <flag name="lock-pthreadrw">Enable pthread read/write locking</flag>
+ <flag name="lock-spinlock">Enable spin locks (EXPERIMENTAL)</flag>
</use>
</pkgmetadata>
LUSE=""
for l in ${LOCKS}; do
- LUSE+="lock_${l} "
+ LUSE+="lock-${l} "
done
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
REQUIRED_USE="^^ ( $LUSE )"
local PHP_EXT_ECONF_ARGS=(
--enable-apcu
$(use_enable mmap apcu-mmap)
- $(use_enable lock_pthreadrw apcu-rwlocks)
- $(use_enable lock_spinlock apcu-spinlocks)
+ $(use_enable lock-pthreadrw apcu-rwlocks)
+ $(use_enable lock-spinlock apcu-spinlocks)
)
php-ext-source-r3_src_configure
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
LUSE=""
for l in ${LOCKS}; do
- LUSE+="lock_${l} "
+ LUSE+="lock-${l} "
done
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
REQUIRED_USE="^^ ( $LUSE )"
local PHP_EXT_ECONF_ARGS=(
--enable-apcu
$(use_enable mmap apcu-mmap)
- $(use_enable lock_pthreadrw apcu-rwlocks)
- $(use_enable lock_spinlock apcu-spinlocks)
+ $(use_enable lock-pthreadrw apcu-rwlocks)
+ $(use_enable lock-spinlock apcu-spinlocks)
)
php-ext-source-r3_src_configure
LUSE=""
for l in ${LOCKS}; do
- LUSE+="lock_${l} "
+ LUSE+="lock-${l} "
done
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}"
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}"
REQUIRED_USE="^^ ( $LUSE )"
local PHP_EXT_ECONF_ARGS=(
--enable-apcu
$(use_enable mmap apcu-mmap)
- $(use_enable lock_pthreadrw apcu-rwlocks)
- $(use_enable lock_spinlock apcu-spinlocks)
+ $(use_enable lock-pthreadrw apcu-rwlocks)
+ $(use_enable lock-spinlock apcu-spinlocks)
)
php-ext-source-r3_src_configure