From 5daee5faafced97d05d19bd5be7babf1acf57573 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 12 Sep 2000 20:00:24 +0000 Subject: On a.out, remove "-Bforcearchive" from linker flags to prevent multiple definitions of symbols. Fixes PR#10971. --- x11/p5-Tk/files/patch-sum | 3 +++ x11/p5-Tk/patches/patch-aa | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 x11/p5-Tk/files/patch-sum create mode 100644 x11/p5-Tk/patches/patch-aa (limited to 'x11') 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; -- cgit v1.2.3