1 |
commit: 833523c3ea8634365a0c32f0033f13bdc54c30af |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 1 18:10:53 2016 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 18:11:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=833523c3 |
7 |
|
8 |
www-apache/mod_perl: QA fixes suggested by soap |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild | 7 ++++--- |
13 |
1 file changed, 4 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild b/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild |
16 |
index 3de1718..16c96d6 100644 |
17 |
--- a/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild |
18 |
+++ b/www-apache/mod_perl/mod_perl-2.0.10_rc1.ebuild |
19 |
@@ -69,7 +69,7 @@ src_prepare() { |
20 |
perl-module_src_prepare |
21 |
|
22 |
# chainsaw unbundling |
23 |
- rm -rf Apache-{Test,Reload,SizeLimit}/ lib/Bundle/ |
24 |
+ rm -rf Apache-{Test,Reload,SizeLimit}/ lib/Bundle/ || die |
25 |
} |
26 |
|
27 |
src_configure() { |
28 |
@@ -92,7 +92,7 @@ src_test() { |
29 |
|
30 |
# IF YOU SUDO TO EMERGE AND HAVE !env_reset set testing will fail! |
31 |
if [[ "$(id -u)" == "0" ]]; then |
32 |
- chown nobody:nobody "${WORKDIR}" "${T}" |
33 |
+ chown nobody:nobody "${WORKDIR}" "${T}" || die |
34 |
fi |
35 |
|
36 |
# We force verbose tests for now to get meaningful bug reports. |
37 |
@@ -124,9 +124,10 @@ src_install() { |
38 |
-e "s,${S}\(/[^[:space:]\"\']\+\)\?,/,g" \ |
39 |
"${D}/${VENDOR_ARCH}/Apache2/BuildConfig.pm" || die |
40 |
|
41 |
+ local fname |
42 |
for fname in $(find "${D}" -type f -not -name '*.so'); do |
43 |
grep -q "\(${D}\|${S}\)" "${fname}" && ewarn "QA: File contains a temporary path ${fname}" |
44 |
- sed -i -e "s:\(${D}\|${S}\):/:g" ${fname} |
45 |
+ sed -i -e "s:\(${D}\|${S}\):/:g" ${fname} || die |
46 |
done |
47 |
|
48 |
perl_remove_temppath |