From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bryan Larsen Subject: [PATCH] Try 2: Allow PERL_PATH="/usr/bin/env perl" Date: Thu, 03 May 2007 18:58:56 -0400 Message-ID: <463A6930.8090603@larsen.st> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: git X-From: git-owner@vger.kernel.org Fri May 04 00:56:59 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HjkEN-0008RL-FF for gcvg-git@gmane.org; Fri, 04 May 2007 00:56:59 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754328AbXECW44 (ORCPT ); Thu, 3 May 2007 18:56:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754449AbXECW44 (ORCPT ); Thu, 3 May 2007 18:56:56 -0400 Received: from py-out-1112.google.com ([64.233.166.176]:56095 "EHLO py-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754320AbXECW4z (ORCPT ); Thu, 3 May 2007 18:56:55 -0400 Received: by py-out-1112.google.com with SMTP id a29so549218pyi for ; Thu, 03 May 2007 15:56:55 -0700 (PDT) Received: by 10.65.254.5 with SMTP id g5mr4524002qbs.1178233015401; Thu, 03 May 2007 15:56:55 -0700 (PDT) Received: from ?192.168.1.91? ( [206.248.190.98]) by mx.google.com with ESMTP id f14sm1956721qba.2007.05.03.15.56.54; Thu, 03 May 2007 15:56:55 -0700 (PDT) User-Agent: Thunderbird 2.0.0.0 (X11/20070326) Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: 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 --- 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