git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl"
@ 2007-05-03 22:58 Bryan Larsen
  2007-05-03 23:02 ` Junio C Hamano
  0 siblings, 1 reply; 7+ messages in thread
From: Bryan Larsen @ 2007-05-03 22:58 UTC (permalink / raw)
  To: git

The perl scripts start with "#!/usr/bin/perl".  There is a mechanism
PERL_PATH in the Makefile to change this, but it currently doesn't work
with PERL_PATH="/usr/bin/env perl".  This is causing problems in
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>
---
  perl/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/perl/Makefile b/perl/Makefile
index 17d004e..2832cb4 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
-- 
1.5.1.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl"
@ 2007-05-03 23:00 Bryan Larsen
  0 siblings, 0 replies; 7+ messages in thread
From: Bryan Larsen @ 2007-05-03 23:00 UTC (permalink / raw)
  To: git

The perl scripts start with "#!/usr/bin/perl".  There is a mechanism
PERL_PATH in the Makefile to change this, but it currently doesn't work
with PERL_PATH="/usr/bin/env perl".  This is causing problems in
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>
---
  perl/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/perl/Makefile b/perl/Makefile
index 17d004e..2832cb4 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-05-04  3:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-03 22:58 [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl" Bryan Larsen
2007-05-03 23:02 ` Junio C Hamano
2007-05-03 23:35   ` Bryan Larsen
2007-05-04  0:43     ` Junio C Hamano
2007-05-04  3:30       ` Bryan Larsen
2007-05-04  0:03   ` Andrew Ruder
  -- strict thread matches above, loose matches on Subject: below --
2007-05-03 23:00 Bryan Larsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).