1 |
commit: 648bed166f1d5f840cebedaeb78910346e4b1e2a |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 25 22:11:39 2017 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 25 22:11:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648bed16 |
7 |
|
8 |
dev-perl/Gtk2-Notify: Fix build on Perl 5.26, bug 616950 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild | 6 ++++++ |
13 |
1 file changed, 6 insertions(+) |
14 |
|
15 |
diff --git a/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild |
16 |
index bf2c5607992..3a7cb84cfae 100644 |
17 |
--- a/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild |
18 |
+++ b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild |
19 |
@@ -30,6 +30,12 @@ PATCHES=( "${FILESDIR}"/${PN}-0.05-libnotify.patch ) |
20 |
PERL_RM_FILES=( t/notification.t ) |
21 |
# the test dies if no notification daemon is present... |
22 |
|
23 |
+src_prepare() { |
24 |
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL || |
25 |
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc" |
26 |
+ perl-module_src_prepare |
27 |
+} |
28 |
+ |
29 |
src_test() { |
30 |
# bug 416729 |
31 |
virtx perl-module_src_test |