summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorBryan Larsen <bryan@larsen.st>2007-05-03 18:58:56 -0400
committerJunio C Hamano <junkio@cox.net>2007-05-03 22:36:32 -0700
commit5318f69812b3a06326524852d965e6a79fa52f85 (patch)
treee7759d6d9cc10c56a744ff9ab45687ff232304a4 /perl
parent5094102e13640d7559a02fd7c77b44dc9254cbbb (diff)
downloadgit-5318f69812b3a06326524852d965e6a79fa52f85.tar.gz
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>
Diffstat (limited to 'perl')
-rw-r--r--perl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Makefile b/perl/Makefile
index 17d004e5a0..0d695fd2f3 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -33,7 +33,7 @@ $(makfile): ../GIT-CFLAGS Makefile
echo ' echo $(instdir_SQ)' >> $@
else
$(makfile): Makefile.PL ../GIT-CFLAGS
- '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'
+ $(PERL_PATH) $< PREFIX='$(prefix_SQ)'
endif
# this is just added comfort for calling make directly in perl dir