summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-25 21:40:22 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-12-25 21:40:44 +0100
commitbce34290b1ac77ddf8e9f018b93356b7e859dadc (patch)
tree81420507394fa4b158ae11807662522a3f7765a9 /www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild
parentnet-mail/offlineimap: version bump to 7.2.2 (diff)
downloadgentoo-bce34290b1ac77ddf8e9f018b93356b7e859dadc.tar.gz
gentoo-bce34290b1ac77ddf8e9f018b93356b7e859dadc.tar.bz2
gentoo-bce34290b1ac77ddf8e9f018b93356b7e859dadc.zip
www-apps/bugzilla: Fix tests for Perl 5.26, bug 632064
The required modules are not installed into any Perl default search paths, but into the BZ web directory. This means that not finding the modules is a test-specific problem; in actual usage they will be found otherwise. Closes: https://bugs.gentoo.org/632064 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild')
-rw-r--r--www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild b/www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild
index 2d6b66fd871d..9668d236f5d0 100644
--- a/www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild
+++ b/www-apps/bugzilla/bugzilla-4.4.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -75,6 +75,10 @@ RDEPEND="
want_apache modperl
need_httpd_cgi
+PATCHES=(
+ "${FILESDIR}/${PN}"-5.0.3-leftbrace.patch
+)
+
pkg_setup() {
depend.apache_pkg_setup modperl
webapp_pkg_setup
@@ -86,11 +90,12 @@ src_prepare() {
# Remove bundled perl modules
rm -r lib/ || die
- eapply_user
+
+ default
}
src_test() {
- perl runtests.pl || die
+ perl -I. runtests.pl || die
}
src_install () {