From: Junio C Hamano Date: Thu, 12 Jan 2017 06:21:05 GMT Subject: Re: [PATCH 0/2] Use env for all perl invocations Message-ID: In-Reply-To: <20170112055140.29877-1-pat.pannuto@gmail.com> Pat Pannuto writes: > I spent a little while debugging why git-format-patch refused to believe > that SSL support was installed (Can't locate Net/SMTP/SSL.pm in @INC...) > Turns out that it was installed for my system's preferred /usr/local/bin/perl, > but not for git-format-patch's hard-coded /usr/bin/perl; changing the shebang > allowed git format-patch to work as expected. Isn't that an indication that you are not building correctly? Perhaps $ git grep 'Define PERL_' Makefile $ make PERL_PATH=/usr/local/bin/perl would help?