pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/gscmxx Add workaround for broken Makefile.PL tha...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8abc21e543e1
branches:  trunk
changeset: 569056:8abc21e543e1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 05 12:18:51 2010 +0000

description:
Add workaround for broken Makefile.PL that eats an important argument.
>From Daniel Horecki.

diffstat:

 comms/gscmxx/distinfo         |   3 ++-
 comms/gscmxx/patches/patch-ab |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 742dbc6f3bcc -r 8abc21e543e1 comms/gscmxx/distinfo
--- a/comms/gscmxx/distinfo     Tue Jan 05 11:24:39 2010 +0000
+++ b/comms/gscmxx/distinfo     Tue Jan 05 12:18:51 2010 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 16:05:29 agc Exp $
+$NetBSD: distinfo,v 1.4 2010/01/05 12:18:51 joerg Exp $
 
 SHA1 (gscmxx-0.4.1.tar.gz) = 61d9783d4afe754fb25a6430c8481095371b1c52
 RMD160 (gscmxx-0.4.1.tar.gz) = 986bf0611fb2a458ed2791d96f1c10ca945772bb
 Size (gscmxx-0.4.1.tar.gz) = 191106 bytes
 SHA1 (patch-aa) = 620455eda4f78b28c55dbdefa5cb672cfaa67566
+SHA1 (patch-ab) = d23de2ad08b9d089d7aee89f56e82740dcd6b1a4
diff -r 742dbc6f3bcc -r 8abc21e543e1 comms/gscmxx/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/gscmxx/patches/patch-ab     Tue Jan 05 12:18:51 2010 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ab,v 1.1 2010/01/05 12:18:51 joerg Exp $
+
+--- Makefile.PL.orig   2002-09-01 12:23:14.000000000 +0000
++++ Makefile.PL
+@@ -37,15 +37,16 @@ EOT
+ =cut
+ 
+ # clean commandline arguments
+-my $i = 0;
+-foreach (@ARGV) {
+-      my ($k, $v) = split /=/, $_, 2;
+-      unless (exists $ExtUtils::MakeMaker::Recognized_Att_Keys{$k}) {
+-              splice(@ARGV, $i, 1);
+-      } else {
+-              $i++;
+-      }
+-}
++# this is buggy
++#my $i = 0;
++#foreach (@ARGV) {
++#     my ($k, $v) = split /=/, $_, 2;
++#     unless (exists $ExtUtils::MakeMaker::Recognized_Att_Keys{$k}) {
++#             splice(@ARGV, $i, 1);
++#     } else {
++#             $i++;
++#     }
++#}
+ 
+ 
+ my $missing_modules = 0;



Home | Main Index | Thread Index | Old Index