pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/subversion Patch Makefile.PL so that the link fl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52e5bbd99da7
branches:  trunk
changeset: 466563:52e5bbd99da7
user:      epg <epg%pkgsrc.org@localhost>
date:      Tue Jan 20 17:08:47 2004 +0000

description:
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:

 devel/subversion/distinfo         |   3 ++-
 devel/subversion/patches/patch-ag |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r 733fea3a038f -r 52e5bbd99da7 devel/subversion/distinfo
--- a/devel/subversion/distinfo Tue Jan 20 15:48:44 2004 +0000
+++ b/devel/subversion/distinfo Tue Jan 20 17:08:47 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.22 2004/01/13 22:48:41 epg Exp $
+$NetBSD: distinfo,v 1.23 2004/01/20 17:08:47 epg Exp $
 
 SHA1 (subversion-0.36.0.tar.gz) = 71e246114a954ec35bb035379ddc8ad8197c1f27
 Size (subversion-0.36.0.tar.gz) = 7508556 bytes
 SHA1 (patch-aa) = 00bd9a667459a704c6454e581c2cc5b1cfc197a9
 SHA1 (patch-ac) = 7f0669a6f684583ff0ca4a443be356ae2fca06db
 SHA1 (patch-ae) = fb741922e349072bcae16c23bb0de9f146d7bfd5
+SHA1 (patch-ag) = 7f51d50d53faac1dd5df4abf6514cd04b4f8d3bc
diff -r 733fea3a038f -r 52e5bbd99da7 devel/subversion/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/subversion/patches/patch-ag Tue Jan 20 17:08:47 2004 +0000
@@ -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 {



Home | Main Index | Thread Index | Old Index