{"thread":{"id":"7962","subject":"[PATCH] Try 2: Allow PERL_PATH=\"/usr/bin/env perl\"","startedAt":"2007-05-03T23:00:01Z","lastAt":"2007-05-03T23:00:01Z","messageCount":1,"participants":["Bryan Larsen"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"40990","messageId":"463A6971.6010307@larsen.st","threadId":"7962","inReplyTo":null,"subject":"[PATCH] Try 2: Allow PERL_PATH=\"/usr/bin/env perl\"","fromName":"Bryan Larsen","fromEmail":"bryan@larsen.st","sentAt":"2007-05-03T23:00:01Z","receivedAt":"2007-05-03T23:00:01Z","isPatch":true,"sender":{"key":"bryan@larsen.st","avatar":"https://avatars.githubusercontent.com/u/32073?v=4"},"body":"The perl scripts start with \"#!/usr/bin/perl\".  There is a mechanism\nPERL_PATH in the Makefile to change this, but it currently doesn't work\nwith PERL_PATH=\"/usr/bin/env perl\".  This is causing problems in\nMacPorts, where we wish to work with the MacPorts perl if it is\ninstalled, but fall back to the system perl if it isn't.\n\nSigned-off-by: Bryan Larsen <bryan@larsen.st>\n---\n  perl/Makefile |    2 +-\n  1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/perl/Makefile b/perl/Makefile\nindex 17d004e..2832cb4 100644\n--- a/perl/Makefile\n+++ b/perl/Makefile\n@@ -33,7 +33,7 @@ $(makfile): ../GIT-CFLAGS Makefile\n         echo '  echo $(instdir_SQ)' >> $@\n  else\n  $(makfile): Makefile.PL ../GIT-CFLAGS\n-       '$(PERL_PATH_SQ)' $< PREFIX='$(prefix_SQ)'\n+       $(PERL_PATH) $< PREFIX='$(prefix_SQ)'\n  endif\n\n  # this is just added comfort for calling make directly in perl dir\n"}]}