From: Jeff King Date: Mon, 06 Feb 2012 20:34:29 GMT Subject: Re: [PATCH] perl/Makefile: use 'installsitelib' even with NO_PERL_MAKEMAKER 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: > >>> 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