summaryrefslogtreecommitdiff
path: root/x11/p5-Tk/patches/patch-aa
blob: 1df31434af0305e27274a9cb5e76fedcb228b420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.2 2004/03/22 12:27:19 wiz Exp $

--- Tk/MMutil.pm.orig	Wed Dec 10 20:49:23 2003
+++ Tk/MMutil.pm
@@ -301,7 +301,7 @@ sub const_config
    }
    $self->{'LDFLAGS'} =~ s/-flat_namespace//;
    $self->{'LDFLAGS'} =~ s/-undefined\s+suppress//;
-  } 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;