1 |
From: Doug Freed <dwfreed@×××.edu> |
2 |
|
3 |
--- |
4 |
eclass/depend.apache.eclass | 6 +++--- |
5 |
1 file changed, 3 insertions(+), 3 deletions(-) |
6 |
|
7 |
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass |
8 |
index b69c2ec..a7d206f 100644 |
9 |
--- a/eclass/depend.apache.eclass |
10 |
+++ b/eclass/depend.apache.eclass |
11 |
@@ -290,7 +290,7 @@ has_apache() { |
12 |
has_apache_threads() { |
13 |
debug-print-function $FUNCNAME $* |
14 |
|
15 |
- if ! built_with_use www-servers/apache threads; then |
16 |
+ if ! has_version 'www-servers/apache[threads]'; then |
17 |
return |
18 |
fi |
19 |
|
20 |
@@ -313,14 +313,14 @@ has_apache_threads() { |
21 |
has_apache_threads_in() { |
22 |
debug-print-function $FUNCNAME $* |
23 |
|
24 |
- if ! built_with_use www-servers/apache threads; then |
25 |
+ if ! has_version 'www-servers/apache[threads]'; then |
26 |
return |
27 |
fi |
28 |
|
29 |
local myforeign="$1" |
30 |
local myflag="${2:-threads}" |
31 |
|
32 |
- if ! built_with_use ${myforeign} ${myflag}; then |
33 |
+ if ! has_version "${myforeign}[${myflag}]"; then |
34 |
echo |
35 |
eerror "You need to enable USE flag '${myflag}' in ${myforeign} to" |
36 |
eerror "build a thread-safe version of ${CATEGORY}/${PN} for use" |
37 |
-- |
38 |
2.11.0.rc2 |