Re: [PATCH] perl/Makefile: use 'installsitelib' even with NO_PERL_MAKEMAKER
- From
Jeff King <peff@peff.net>
- Date
- Feb 6, 2012, 20:34 UTC
- Message-ID
- <20120206203429.GA31404@sigill.intra.peff.net>
- In-Reply-To
- <9D199309-85A6-42EE-9417-8C4E61534670@spotify.com>
On Mon, Feb 06, 2012 at 03:30:54PM -0500, Nicholas Harteau wrote:
Show 10 quoted lines
> >>> ifdef NO_PERL_MAKEMAKER > >>> -instdir_SQ = $(subst ','\'',$(prefix)/lib) > >>> +instdir_SQ = $(subst ','\'',$(subst installsitelib=,'',$(shell $(PERL_PATH_SQ) -V:installsitelib))) > > > > Isn't this a regression if I am a non-root user installing into > > $HOME/local or similar? With MakeMaker, I end up with this in my > > perl.mak: > [...] > > Totally correct - let me re-think the non-root case. Thanks.
I just read the github PR you linked to. It sounds like it might work to just add a knob that the homebrew recipe could tweak to enable this behavior (with the knob off by default).
-Peff