$NetBSD: patch-ag,v 1.6 2005/02/10 00:41:43 epg Exp $ --- subversion/bindings/swig/perl/native/Makefile.PL.in.orig Tue Sep 14 12:32:08 2004 +++ subversion/bindings/swig/perl/native/Makefile.PL.in @@ -46,7 +46,7 @@ my %config = ( " -I$svnlib_srcdir/include", " -I$swig_srcdir -g"), OBJECT => q/$(O_FILES)/, - LIBS => [join(' ', $apr_ldflags, + LIBS => [join(' ', $ENV{'LDFLAGS'}, $apr_ldflags, (map {$_ = abs_path($_); "-L$_"} @ldpaths), @ldmodules, '-lsvn_swig_perl-1', `$swig -perl -ldflags`)], @@ -103,7 +103,6 @@ sub MY::postamble { my $swig_modules_command = join ('', map {"\nsvn_$_.c : $swig_srcdir/svn_$_.i ". - "$svnlib_builddir/libsvn_$_/libsvn_$_-1.la ". "ra_plugin.hi ra_reporter.hi ". "delta_editor.hi\n" . "\t$swig_command".