You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ben Reser <be...@reser.org> on 2003/11/27 08:44:36 UTC
[PATCH] Build perl bindings in place.
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 <be...@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
Re: [PATCH] Build perl bindings in place.
Posted by Chia-liang Kao <cl...@clkao.org>.
committed in r7861.
Can we have this merged to 0.34.0? This change only affects building
behavior.
Cheers,
CLK
On Thu, 2003-11-27 at 17:04, Chia-liang Kao wrote:
> Cool, I'll commit this shortly. :)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: [PATCH] Build perl bindings in place.
Posted by Chia-liang Kao <cl...@clkao.org>.
Cool, I'll commit this shortly. :)
On Thu, 2003-11-27 at 16:44, Ben Reser wrote:
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org