git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl"

From
Bryan Larsen <bryan@larsen.st>
Date
May 3, 2007, 22:58 UTC
Message-ID
<463A6930.8090603@larsen.st>

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
Next: Junio C Hamano
Message 1 of 6 in “Try 2: Allow PERL_PATH="/usr/bin/env perl"”
  1. Try 2: Allow PERL_PATH="/usr/bin/env perl"Bryan Larsen, May 3, 2007
  2. Junio C HamanoMay 3, 2007
  3. Bryan LarsenMay 3, 2007
  4. Junio C HamanoMay 4, 2007
  5. Bryan LarsenMay 4, 2007
  6. Andrew RuderMay 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.