RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Anders F. Björklund
  Root:   /v/rpm/cvs                       Email:  [email protected]
  Module: rpm                              Date:   24-Jan-2009 16:58:54
  Branch: HEAD                             Handle: 2009012415585300

  Modified files:
    rpm/perl                Makefile.PL.in

  Log:
    fix regexp matching bug with macosx ldflags

  Summary:
    Revision    Changes     Path
    1.25        +1  -1      rpm/perl/Makefile.PL.in
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/perl/Makefile.PL.in
  ============================================================================
  $ cvs diff -u -r1.24 -r1.25 Makefile.PL.in
  --- rpm/perl/Makefile.PL.in   25 Dec 2008 17:44:44 -0000      1.24
  +++ rpm/perl/Makefile.PL.in   24 Jan 2009 15:58:53 -0000      1.25
  @@ -32,7 +32,7 @@
   # teach MakeMaker some Mac OS X LDFLAGS:
   my @LDFLAGS = qw(@LDFLAGS@);
   foreach (@LDFLAGS) {
  -    if (m/-arch|ppc|i386|ppc64|x86_64/) {
  +    if (m/^(-arch|ppc|i386|ppc64|x86_64)$/) {
            push (@ldflags, $&);
       } elsif (m/-Wl,-search_paths_first/) {
            push (@ldflags, $&);
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to