Allow PERL_PATH="/usr/bin/env perl"
There is a mechanism PERL_PATH in the Makefile to specify path to Perl binary, but sometimes it is convenient to let 'env' figure out where Perl comes from, with PERL_PATH="/usr/bin/env perl". Allowing this would make things easier to MacPorts, where we wish to work with the MacPorts perl if it is installed, but fall back to the system perl if it isn't. Signed-off-by: Bryan Larsen <bryan@larsen.st> Signed-off-by: Junio C Hamano <junkio@cox.net>
Bryan Larsen committed
May 3, 2007 at 18:58 UTC
5318f69812b3a06326524852d965e6a79fa52f85
1 file changed
+1
-1
perl/Makefile
+1
-1
@@ -33,7 +33,7 @@ $(makfile): ../GIT-CFLAGS Makefile
33
echo ' echo $(instdir_SQ)' >> $@
34
else
35
$(makfile): Makefile.PL ../GIT-CFLAGS
36
- '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
36
+ $(PERL_PATH) $< PREFIX='$(prefix_SQ)'
37
endif
38
39
# this is just added comfort for calling make directly in perl dir