From: Philip Prindeville Date: Tue, 7 Nov 2017 22:49:18 +0000 (-0700) Subject: perlmod: redux handling odd Makefile.PL eval value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f03cd7b5aca1c7b041ca120cbf684d1b3c48c236;p=feed%2Fpackages.git perlmod: redux handling odd Makefile.PL eval value It seems that Inline::C evaluates to undef which is problematic, so we need to handle this better. Signed-off-by: Philip Prindeville --- diff --git a/lang/perl/perlmod.mk b/lang/perl/perlmod.mk index 2ad21e4b53..04ae49053b 100644 --- a/lang/perl/perlmod.mk +++ b/lang/perl/perlmod.mk @@ -57,7 +57,7 @@ define perlmod/Configure (cd $(if $(3),$(3),$(PKG_BUILD_DIR)); \ PERL_MM_USE_DEFAULT=1 \ $(2) \ - $(PERL_CMD) -MConfig -e '$$$${tied %Config::Config}{cpprun}="$(GNU_TARGET_NAME)-cpp -E"; unshift(@INC, "."); unless (defined (do "./Makefile.PL")) { if ($$$$@) { die "couldn\047t parse Makefile.PL: $$$$@"; } else { die "couldn\047t do Makefile.PL: $$$$!"; } }; die "No Makefile generated!" unless -f "Makefile";' \ + $(PERL_CMD) -MConfig -e '$$$${tied %Config::Config}{cpprun}="$(GNU_TARGET_NAME)-cpp -E"; unshift(@INC, "."); unless (defined (do "./Makefile.PL")) { if ($$$$@) { die "couldn\047t parse Makefile.PL: $$$$@"; } elsif ($$$$!) { die "Could\047t run Makefile.PL: $$$$!"; } }; die "No Makefile generated!" unless -f "Makefile";' \ $(1) \ AR=ar \ CC=$(GNU_TARGET_NAME)-gcc \