Browse Source

Revert "perl: when Makefile.PL fails give more feedback"

This reverts commit a4aaaf8d8f.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
lilik-openwrt-22.03
Philip Prindeville 7 years ago
parent
commit
531eb4404b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lang/perl/perlmod.mk

+ 1
- 1
lang/perl/perlmod.mk View File

@ -57,7 +57,7 @@ define perlmod/Configure
(cd $(if $(3),$(3),$(PKG_BUILD_DIR)); \ (cd $(if $(3),$(3),$(PKG_BUILD_DIR)); \
PERL_MM_USE_DEFAULT=1 \ PERL_MM_USE_DEFAULT=1 \
$(2) \ $(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"; do "./Makefile.PL"' \
$(1) \ $(1) \
AR=ar \ AR=ar \
CC=$(GNU_TARGET_NAME)-gcc \ CC=$(GNU_TARGET_NAME)-gcc \


Loading…
Cancel
Save