Add workaround for broken Makefile.PL that eats an important argument.
From Daniel Horecki.
This commit is contained in:
parent
af365cd6a2
commit
693e6ec5d7
2 changed files with 32 additions and 1 deletions
|
@ -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
|
||||
|
|
30
comms/gscmxx/patches/patch-ab
Normal file
30
comms/gscmxx/patches/patch-ab
Normal file
|
@ -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;
|
Loading…
Reference in a new issue