[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Build perl bindings in place.

From: Ben Reser <ben_at_reser.org>
Date: 2003-11-27 09:44:36 CET

This makes it possible/easier for packagers to ship the perl bindings.
It also makes a make swig-pl target possible. I've been using this in
the Mandrake packages for a while with no harm.

* subversion/bindings/swig/perl/Makefile.PL
  Add the proper paths so the perl bindings can be built without
  installing subversion in system locations first.

Index: subversion/bindings/swig/perl/Makefile.PL
===================================================================
--- subversion/bindings/swig/perl/Makefile.PL (revision 7860)
+++ subversion/bindings/swig/perl/Makefile.PL (working copy)
@@ -19,9 +19,17 @@
                     ' -I.. -I../../../include -g'),
     OBJECT => q/$(O_FILES)/,
     dynamic_lib => {
- OTHERLDFLAGS => join(' ', $apr_ldflags, '-L/usr/local/lib',
- @ldmodules, '-lsvn_swig_perl-1',
- `swig -perl -ldflags`),
+ OTHERLDFLAGS => join(' ', $apr_ldflags, '-L../.libs',
+ '-L../../../libsvn_client/.libs',
+ '-L../../../libsvn_delta/.libs',
+ '-L../../../libsvn_fs/.libs',
+ '-L../../../libsvn_ra/.libs',
+ '-L../../../libsvn_repos/.libs',
+ '-L../../../libsvn_wc/.libs',
+ '-L../../../libsvn_subr/.libs',
+ '-L../../../libsvn_diff/.libs',
+ @ldmodules, '-lsvn_swig_perl-1',
+ `swig -perl -ldflags`),
     },
 );
 

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 27 10:02:09 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.