diff options
author | epg <epg> | 2004-01-20 17:08:47 +0000 |
---|---|---|
committer | epg <epg> | 2004-01-20 17:08:47 +0000 |
commit | 63c22c1a133b2860e2edcfc0086340c1bef3d39f (patch) | |
tree | 71e7577c1eea6ab0d4546e557921383515a43d77 /devel/subversion/patches | |
parent | 37ca920cc96e3950a8a56d722ef38382961c69f8 (diff) | |
download | pkgsrc-63c22c1a133b2860e2edcfc0086340c1bef3d39f.tar.gz |
Patch Makefile.PL so that the link flags the Subversion bindings
need are placed in the LIBS variable rather than OTHERLDFLAGS.
Other Perl modules use LIBS, and lang/perl5/module.mk clobbers
OTHERLDFLAGS.
Thanks to Johnny Lam for suggesting the fix.
Diffstat (limited to 'devel/subversion/patches')
-rw-r--r-- | devel/subversion/patches/patch-ag | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/subversion/patches/patch-ag b/devel/subversion/patches/patch-ag new file mode 100644 index 00000000000..ba54af60c95 --- /dev/null +++ b/devel/subversion/patches/patch-ag @@ -0,0 +1,18 @@ +$NetBSD: patch-ag,v 1.3 2004/01/20 17:08:47 epg Exp $ + +--- subversion/bindings/swig/perl/Makefile.PL.orig Sun Dec 7 12:25:10 2003 ++++ subversion/bindings/swig/perl/Makefile.PL +@@ -23,11 +23,10 @@ my %config = ( + CCFLAGS => join(' ', $apr_cflags, `perl -MExtUtils::Embed -e ccopts`, + ' -I.. -I../../../include -g'), + OBJECT => q/$(O_FILES)/, +- dynamic_lib => { +- OTHERLDFLAGS => join(' ', $apr_ldflags, (map {"-L$_"} @ldpaths), ++ LIBS => [join(' ', $apr_ldflags, (map {"-L$_"} @ldpaths), + @ldmodules, '-lsvn_swig_perl-1', + `swig -perl -ldflags`), +- }, ++ ], + ); + + sub perlish { |