summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-05 12:18:51 +0000
committerjoerg <joerg>2010-01-05 12:18:51 +0000
commitb5144f6f5f29ed9362f59c3100c44b5f5b127b23 (patch)
tree4734a436595ff7514332f53e64ba6b805ecee916 /comms
parent34214559fee90320ea16400019a5e16a6a48b219 (diff)
downloadpkgsrc-b5144f6f5f29ed9362f59c3100c44b5f5b127b23.tar.gz
Add workaround for broken Makefile.PL that eats an important argument.
From Daniel Horecki.
Diffstat (limited to 'comms')
-rw-r--r--comms/gscmxx/distinfo3
-rw-r--r--comms/gscmxx/patches/patch-ab30
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;