summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-11-10 20:26:49 -0500
committerMike Frysinger <vapier@gentoo.org>2015-11-10 20:53:23 -0500
commit2347c6fe886c6b89d93ffac0faf375a613c372b1 (patch)
tree9ac1ed0abe7e86cbfe62a110a23675af21655134 /app-admin/yaala
parentnet-libs/mbedtls: version bump to 2.1.3 (diff)
downloadgentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.tar.gz
gentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.tar.bz2
gentoo-2347c6fe886c6b89d93ffac0faf375a613c372b1.zip
avoid using ${var^} and ${var,} as they do not work in bash-3.2
Once these upgrade to EAPI=6, they can use these case modification features, so leave a reminder note in there.
Diffstat (limited to 'app-admin/yaala')
-rw-r--r--app-admin/yaala/yaala-0.7.3-r1.ebuild21
1 files changed, 12 insertions, 9 deletions
diff --git a/app-admin/yaala/yaala-0.7.3-r1.ebuild b/app-admin/yaala/yaala-0.7.3-r1.ebuild
index 22d252f61c3c..0b19caef71b4 100644
--- a/app-admin/yaala/yaala-0.7.3-r1.ebuild
+++ b/app-admin/yaala/yaala-0.7.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -28,17 +28,20 @@ src_prepare() {
src_install() {
dobin ${PN}
- exeinto /usr/lib64/perl5/vendor_perl/${PN^}/
- doexe lib/${PN^}/*.pm
+ # Switch to ^y when we switch to EAPI=6.
+ local mod="Y${PN:1}"
- exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Data/
- doexe lib/${PN^}/Data/*.pm
+ exeinto /usr/lib64/perl5/vendor_perl/${mod}/
+ doexe lib/${mod}/*.pm
- exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Parser/
- doexe lib/${PN^}/Parser/*.pm
+ exeinto /usr/lib64/perl5/vendor_perl/${mod}/Data/
+ doexe lib/${mod}/Data/*.pm
- exeinto /usr/lib64/perl5/vendor_perl/${PN^}/Report/
- doexe lib/${PN^}/Report/*.pm
+ exeinto /usr/lib64/perl5/vendor_perl/${mod}/Parser/
+ doexe lib/${mod}/Parser/*.pm
+
+ exeinto /usr/lib64/perl5/vendor_perl/${mod}/Report/
+ doexe lib/${mod}/Report/*.pm
dodoc AUTHORS CHANGELOG README{,.persistency,.selections}