SOURCES: swish-e-perl.patch (NEW) - fix makefile generation with p...

baggins baggins at pld-linux.org
Tue Apr 8 13:18:00 CEST 2008


Author: baggins                      Date: Tue Apr  8 11:18:00 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix makefile generation with perl 5.10

---- Files affected:
SOURCES:
   swish-e-perl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/swish-e-perl.patch
diff -u /dev/null SOURCES/swish-e-perl.patch:1.1
--- /dev/null	Tue Apr  8 13:18:00 2008
+++ SOURCES/swish-e-perl.patch	Tue Apr  8 13:17:55 2008
@@ -0,0 +1,19 @@
+diff --git a/perl/Makefile.PL b/perl/Makefile.PL
+index 69be46f..711dfa8 100644
+--- a/perl/Makefile.PL
++++ b/perl/Makefile.PL
+@@ -80,11 +80,9 @@ Can be either environment variables or passed on command line like:
+ 
+ EOF
+ 
+-$SIG{__DIE__} = sub {
+-    print STDERR "\n  ** ERROR: ", @_;
+-    print STDERR "  Run perl Makefile.PL SWISHHELP for options\n\n";
+-    exit 1;
+-};
++END {
++    print STDERR "Run perl Makefile.PL SWISHHELP for options\n\n" if $?;
++}
+ 
+ #----------------------------------------------------------------------------------
+ 
================================================================


More information about the pld-cvs-commit mailing list