1 |
commit: 5d54c1127dca5e68dbf71d512217e3b66825ae62 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 18:15:05 2019 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 19:05:07 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d54c112 |
7 |
|
8 |
dev-php/pecl-apcu: Fix USE naming to not include an underscore |
9 |
|
10 |
Closes: https://bugs.gentoo.org/695080 |
11 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
12 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
13 |
|
14 |
dev-php/pecl-apcu/metadata.xml | 8 ++++---- |
15 |
dev-php/pecl-apcu/pecl-apcu-4.0.11.ebuild | 8 ++++---- |
16 |
dev-php/pecl-apcu/pecl-apcu-5.1.12.ebuild | 10 +++++----- |
17 |
dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild | 8 ++++---- |
18 |
4 files changed, 17 insertions(+), 17 deletions(-) |
19 |
|
20 |
diff --git a/dev-php/pecl-apcu/metadata.xml b/dev-php/pecl-apcu/metadata.xml |
21 |
index 4d7374447c6..6344b62d774 100644 |
22 |
--- a/dev-php/pecl-apcu/metadata.xml |
23 |
+++ b/dev-php/pecl-apcu/metadata.xml |
24 |
@@ -6,9 +6,9 @@ |
25 |
<name>PHP</name> |
26 |
</maintainer> |
27 |
<use> |
28 |
- <flag name="lock_semaphore">Enable semaphore locks instead of fcntl</flag> |
29 |
- <flag name="lock_pthreadmutex">Enable pthread mutex locking</flag> |
30 |
- <flag name="lock_pthreadrw">Enable pthread read/write locking</flag> |
31 |
- <flag name="lock_spinlock">Enable spin locks (EXPERIMENTAL)</flag> |
32 |
+ <flag name="lock-semaphore">Enable semaphore locks instead of fcntl</flag> |
33 |
+ <flag name="lock-pthreadmutex">Enable pthread mutex locking</flag> |
34 |
+ <flag name="lock-pthreadrw">Enable pthread read/write locking</flag> |
35 |
+ <flag name="lock-spinlock">Enable spin locks (EXPERIMENTAL)</flag> |
36 |
</use> |
37 |
</pkgmetadata> |
38 |
|
39 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-4.0.11.ebuild b/dev-php/pecl-apcu/pecl-apcu-4.0.11.ebuild |
40 |
index f755261e918..c808e24e787 100644 |
41 |
--- a/dev-php/pecl-apcu/pecl-apcu-4.0.11.ebuild |
42 |
+++ b/dev-php/pecl-apcu/pecl-apcu-4.0.11.ebuild |
43 |
@@ -32,10 +32,10 @@ LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
44 |
|
45 |
LUSE="" |
46 |
for l in ${LOCKS}; do |
47 |
- LUSE+="lock_${l} " |
48 |
+ LUSE+="lock-${l} " |
49 |
done |
50 |
|
51 |
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" |
52 |
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
53 |
|
54 |
REQUIRED_USE="^^ ( $LUSE )" |
55 |
|
56 |
@@ -52,8 +52,8 @@ src_configure() { |
57 |
local PHP_EXT_ECONF_ARGS=( |
58 |
--enable-apcu |
59 |
$(use_enable mmap apcu-mmap) |
60 |
- $(use_enable lock_pthreadrw apcu-rwlocks) |
61 |
- $(use_enable lock_spinlock apcu-spinlocks) |
62 |
+ $(use_enable lock-pthreadrw apcu-rwlocks) |
63 |
+ $(use_enable lock-spinlock apcu-spinlocks) |
64 |
) |
65 |
|
66 |
php-ext-source-r3_src_configure |
67 |
|
68 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.12.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.12.ebuild |
69 |
index 675490a1e85..da6a7f85c52 100644 |
70 |
--- a/dev-php/pecl-apcu/pecl-apcu-5.1.12.ebuild |
71 |
+++ b/dev-php/pecl-apcu/pecl-apcu-5.1.12.ebuild |
72 |
@@ -1,4 +1,4 @@ |
73 |
-# Copyright 1999-2018 Gentoo Authors |
74 |
+# Copyright 1999-2019 Gentoo Authors |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
|
77 |
EAPI=6 |
78 |
@@ -31,10 +31,10 @@ LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
79 |
|
80 |
LUSE="" |
81 |
for l in ${LOCKS}; do |
82 |
- LUSE+="lock_${l} " |
83 |
+ LUSE+="lock-${l} " |
84 |
done |
85 |
|
86 |
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" |
87 |
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
88 |
|
89 |
REQUIRED_USE="^^ ( $LUSE )" |
90 |
|
91 |
@@ -51,8 +51,8 @@ src_configure() { |
92 |
local PHP_EXT_ECONF_ARGS=( |
93 |
--enable-apcu |
94 |
$(use_enable mmap apcu-mmap) |
95 |
- $(use_enable lock_pthreadrw apcu-rwlocks) |
96 |
- $(use_enable lock_spinlock apcu-spinlocks) |
97 |
+ $(use_enable lock-pthreadrw apcu-rwlocks) |
98 |
+ $(use_enable lock-spinlock apcu-spinlocks) |
99 |
) |
100 |
|
101 |
php-ext-source-r3_src_configure |
102 |
|
103 |
diff --git a/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild b/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild |
104 |
index 39a64219bf7..f204ffcad33 100644 |
105 |
--- a/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild |
106 |
+++ b/dev-php/pecl-apcu/pecl-apcu-5.1.17.ebuild |
107 |
@@ -31,10 +31,10 @@ LOCKS="pthreadmutex pthreadrw spinlock semaphore" |
108 |
|
109 |
LUSE="" |
110 |
for l in ${LOCKS}; do |
111 |
- LUSE+="lock_${l} " |
112 |
+ LUSE+="lock-${l} " |
113 |
done |
114 |
|
115 |
-IUSE+=" ${LUSE/lock_pthreadrw/+lock_pthreadrw}" |
116 |
+IUSE+=" ${LUSE/lock-pthreadrw/+lock-pthreadrw}" |
117 |
|
118 |
REQUIRED_USE="^^ ( $LUSE )" |
119 |
|
120 |
@@ -51,8 +51,8 @@ src_configure() { |
121 |
local PHP_EXT_ECONF_ARGS=( |
122 |
--enable-apcu |
123 |
$(use_enable mmap apcu-mmap) |
124 |
- $(use_enable lock_pthreadrw apcu-rwlocks) |
125 |
- $(use_enable lock_spinlock apcu-spinlocks) |
126 |
+ $(use_enable lock-pthreadrw apcu-rwlocks) |
127 |
+ $(use_enable lock-spinlock apcu-spinlocks) |
128 |
) |
129 |
|
130 |
php-ext-source-r3_src_configure |