diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-05 12:18:51 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-05 12:18:51 +0000 |
commit | ba134c35b9431894e3a1fd08166fe930aa8bc8a5 (patch) | |
tree | 4734a436595ff7514332f53e64ba6b805ecee916 /comms/gscmxx | |
parent | ab7a1a22f21b49fc7928c6c65962f693f2c50e01 (diff) | |
download | pkgsrc-ba134c35b9431894e3a1fd08166fe930aa8bc8a5.tar.gz |
Add workaround for broken Makefile.PL that eats an important argument.
From Daniel Horecki.
Diffstat (limited to 'comms/gscmxx')
-rw-r--r-- | comms/gscmxx/distinfo | 3 | ||||
-rw-r--r-- | comms/gscmxx/patches/patch-ab | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/comms/gscmxx/distinfo b/comms/gscmxx/distinfo index c37da3eecee..1c8133b26c5 100644 --- a/comms/gscmxx/distinfo +++ b/comms/gscmxx/distinfo @@ -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 --git a/comms/gscmxx/patches/patch-ab b/comms/gscmxx/patches/patch-ab new file mode 100644 index 00000000000..cd9ba6241e2 --- /dev/null +++ b/comms/gscmxx/patches/patch-ab @@ -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; |