summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2000-09-12 20:00:24 +0000
committerjlam <jlam@pkgsrc.org>2000-09-12 20:00:24 +0000
commit5daee5faafced97d05d19bd5be7babf1acf57573 (patch)
tree6d50075c518fc9cd1146169c19ab3662cabeb0ce /x11
parent467e782954a9f1f8f3ad1f0c9b7b11888cb726cf (diff)
downloadpkgsrc-5daee5faafced97d05d19bd5be7babf1acf57573.tar.gz
On a.out, remove "-Bforcearchive" from linker flags to prevent multiple
definitions of symbols. Fixes PR#10971.
Diffstat (limited to 'x11')
-rw-r--r--x11/p5-Tk/files/patch-sum3
-rw-r--r--x11/p5-Tk/patches/patch-aa13
2 files changed, 16 insertions, 0 deletions
diff --git a/x11/p5-Tk/files/patch-sum b/x11/p5-Tk/files/patch-sum
new file mode 100644
index 00000000000..e879f0b1a6e
--- /dev/null
+++ b/x11/p5-Tk/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1 2000/09/12 20:00:24 jlam Exp $
+
+MD5 (patch-aa) = eb4bf44f30f94718a084c4475ce74f3e
diff --git a/x11/p5-Tk/patches/patch-aa b/x11/p5-Tk/patches/patch-aa
new file mode 100644
index 00000000000..dc191de3feb
--- /dev/null
+++ b/x11/p5-Tk/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2000/09/12 20:01:14 jlam Exp $
+
+--- Tk/MMutil.pm.orig Thu Mar 30 15:37:15 2000
++++ Tk/MMutil.pm
+@@ -248,7 +248,7 @@
+ $self->{'LDFLAGS'} =~ s/-(debug|pdb:\w+)\s+//g;
+ $self->{'LDDLFLAGS'} =~ s/-(debug|pdb:\w+)\s+//g;
+ }
+- elsif ($^O =~ /(openbsd)/i)
++ elsif ($^O =~ /(.*bsd)/i)
+ {
+ # -Bforcearchive is bad news for Tk - we don't want all of libpTk.a in all .so-s.
+ $self->{'LDDLFLAGS'} =~ s/-Bforcearchive\s*//g;