Re: swig-pl does not respect prefix
On Sun, 2011-09-25 at 07:29 +0300, Daniel Shahaf wrote:
> 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?
That makes sense.
Leadership Computing Facility
Argonne National Laboratory
Received on 2011-09-25 11:10:34 CEST
This is an archived mail posted to the Subversion Dev