Re: subversion 1.8.11: installing perl API with --prefix
Forwarding to dev@
Philippe Poilbarbe wrote on Wed, Feb 04, 2015 at 12:28:17 +0100:
> I had to install a version of subversion as a loadable module (via
> environment modules) so it had to be in a non standard directory.
> Configuring with the --prefix option works fine except for installing
> the perl bindings: it wants to install it in the native perl directory
> not in the 'prefix' subtree because the prefix is not transmitted to the
> Joined is a patch which corrects this (one line modified in Makefile.in).
> Philippe Poilbarbe
> CLS, Scientific Softwares (DT/PIL/LS).
> diff -Naur subversion-1.8.11.orig/Makefile.in subversion-1.8.11/Makefile.in
> --- subversion-1.8.11.orig/Makefile.in 2014-02-10 05:04:51.000000000 +0100
> +++ subversion-1.8.11/Makefile.in 2015-02-02 18:13:16.058431000 +0100
> @@ -777,7 +777,7 @@
> ./config.status subversion/bindings/swig/perl/native/Makefile.PL
> $(SWIG_PL_DIR)/native/Makefile: $(SWIG_PL_DIR)/native/Makefile.PL
> - cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL
> + cd $(SWIG_PL_DIR)/native; $(PERL) Makefile.PL PREFIX=$(prefix)
> # There is a "readlink -f" command on some systems for the same purpose,
> # but it's not as portable (e.g. Mac OS X doesn't have it). These should
Received on 2015-02-08 10:45:22 CET
This is an archived mail posted to the Subversion Dev