perl-sys/perl-sys.patch

changeset 372
442a711da911
parent 57
b2ef87c65d24
     1.1 --- a/perl-sys/perl-sys.patch	Tue Sep 20 17:37:48 2011 +0200
     1.2 +++ b/perl-sys/perl-sys.patch	Wed Sep 21 13:46:39 2011 +0200
     1.3 @@ -1,12 +1,16 @@
     1.4 -Index: Authen-SASL-2.12/Makefile.PL
     1.5 ---- Authen-SASL-2.12/Makefile.PL.orig	2008-09-13 00:09:14.000000000 +0200
     1.6 -+++ Authen-SASL-2.12/Makefile.PL	2008-09-13 00:09:55.000000000 +0200
     1.7 -@@ -33,7 +33,7 @@ features(
     1.8 -   ],
     1.9 - );
    1.10 +Index: IPC-ShareLite-0.17/Makefile.PL
    1.11 +--- IPC-ShareLite-0.17/Makefile.PL.orig	2011-06-19 23:39:44.000000000 +0200
    1.12 ++++ IPC-ShareLite-0.17/Makefile.PL	2011-06-19 23:52:49.000000000 +0200
    1.13 +@@ -55,11 +55,10 @@
    1.14   
    1.15 --auto_install_now();
    1.16 -+#auto_install_now();
    1.17 +   my @exclude = qw( Devel::CheckLib IO::CaptureOutput );
    1.18 +   my $pad     = ' ' x 4;
    1.19 +-  die "Can't parse Makefile fragment"
    1.20 +-   unless $lines[-2] =~ /^([^"']*(["'])).*?(\2[^"']*)$/;
    1.21 +   splice @lines, -1, 0, map { "$1$_$3" } (
    1.22 +     'no_index:', "${pad}package:", map { "${pad}${pad}- $_" } @exclude
    1.23 +   );
    1.24   
    1.25 - &Makefile->write;
    1.26 - &Meta->write;
    1.27 +   return join "\n", @lines;
    1.28 + }
    1.29 ++

mercurial