From 36f88e909a8024b56db4439525cd005bcc88944d Mon Sep 17 00:00:00 2001 From: Torsten Maehne Date: Tue, 28 Aug 2012 09:51:47 +0200 Subject: [PATCH] Makefile.PL: add message about custom parameters Since adding custom parameters to Makefile.PL scripts is not transparently supported by MakeMaker, recent versions print a note about unknown options given to the script. Nevertheless, such parameters are handled correctly and are passed through to a reinvocation in case of a changed Makefile.PL. A message is printed to inform the user about this fact. Signed-off-by: Philipp A. Hartmann --- Makefile.PL | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index 97bab60..baef72a 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,6 +9,14 @@ my $PERL_SHEBANG = $args{PERL_SHEBANG} || "" ; my $TAR_PROGRAM = $args{TAR_PROGRAM} || "" ; my $XDELTA_PROGRAM = $args{XDELTA_PROGRAM} || "" ; +if ($PERL_SHEBANG || $TAR_PROGRAM || $XDELTA_PROGRAM) { + print <