summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-26 00:11:39 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-06-26 00:11:39 +0200
commit648bed166f1d5f840cebedaeb78910346e4b1e2a (patch)
tree49b9267a5ca5b6d78e19d06560ba4ecb25124a93 /dev-perl/Gtk2-Notify
parentdev-perl/Feed-Find: Fix build with Perl 5.26, bug 616836 (diff)
downloadgentoo-648bed166f1d5f840cebedaeb78910346e4b1e2a.tar.gz
gentoo-648bed166f1d5f840cebedaeb78910346e4b1e2a.tar.bz2
gentoo-648bed166f1d5f840cebedaeb78910346e4b1e2a.zip
dev-perl/Gtk2-Notify: Fix build on Perl 5.26, bug 616950
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-perl/Gtk2-Notify')
-rw-r--r--dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild
index bf2c56079921..3a7cb84cfaee 100644
--- a/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild
+++ b/dev-perl/Gtk2-Notify/Gtk2-Notify-0.50.0.ebuild
@@ -30,6 +30,12 @@ PATCHES=( "${FILESDIR}"/${PN}-0.05-libnotify.patch )
PERL_RM_FILES=( t/notification.t )
# the test dies if no notification daemon is present...
+src_prepare() {
+ sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
+ die "Can't patch Makefile.PL for 5.26 dot-in-inc"
+ perl-module_src_prepare
+}
+
src_test() {
# bug 416729
virtx perl-module_src_test