From: Peter Rabbitson Date: Tue, 17 May 2016 14:45:40 +0000 (+0200) Subject: Work around the upcoming -Dfortify_inc :/ X-Git-Tag: 0.27~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c81fe1dad3abade373c9a64020331047b95a7a81;p=p5sagit%2Fnamespace-clean.git Work around the upcoming -Dfortify_inc :/ --- diff --git a/Makefile.PL b/Makefile.PL index 04f20c3..3af46b1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -52,7 +52,11 @@ my %META = ( my %MM_ARGS = ( ( # a sub-namer is needed if using the debugger on some perls - require 'lib/namespace/clean/_Util.pm' + do { + # sigh... so much unmitigated stupidity on #p5p these days... + local @INC = ('lib', @INC); + require namespace::clean::_Util; + } and namespace::clean::_Util::DEBUGGER_NEEDS_CV_RENAME() and