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

Re: swig-pl does not respect prefix

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Sun, 25 Sep 2011 07:29:28 +0300

Moving to dev@.

Hal Finkel wrote on Sat, Sep 24, 2011 at 17:03:37 -0500:
> Hello,
>
> The default makefile does not seem to pass the prefix given to configure
> to the Makefile.PL used to build the swig-pl bindings, and this seems to
> cause the obvious problems with doing non-root installs.
>
> Fixing the problem seems simple:
>
> --- Makefile.in.orig 2010-11-25 17:55:59.000000000 +0000
> +++ Makefile.in 2011-09-24 21:47:19.512442060 +0000
> @@ -682,7 +682,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)

I think it would be better to change subversion/bindings/swig/perl/native/Makefile.PL.in
(so that PREFIX takes effect even someone runs it manually for some
reason), agreed?
Received on 2011-09-25 06:30:25 CEST

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

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