From owner-freebsd-ports@FreeBSD.ORG Wed May 1 19:18:49 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F373DB81 for ; Wed, 1 May 2013 19:18:48 +0000 (UTC) (envelope-from freebsd@heesakkers.info) Received: from server4.ohos.nl (server4.ohos.nl [IPv6:2a00:d880:0:6::c951:214d]) by mx1.freebsd.org (Postfix) with ESMTP id BFEB9102B for ; Wed, 1 May 2013 19:18:48 +0000 (UTC) Received: from [2001:470:1f15:1555::2] (helo=pcoliver.heesakkers.info) by server4.ohos.nl with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1UXcY2-0006FS-Vk for freebsd-ports@freebsd.org; Wed, 01 May 2013 21:18:45 +0200 From: Oliver Heesakkers To: freebsd-ports@freebsd.org Subject: Re: [BRAINSTORM] shebang fixing framework Date: Wed, 01 May 2013 21:18:36 +0200 Message-ID: <1786370.b1sXK5t6Pv@pcoliver.heesakkers.info> User-Agent: KMail/4.10.1 (FreeBSD/9.1-RELEASE-p1; KDE/4.10.1; amd64; ; ) In-Reply-To: <20130430103821.GJ3577@ithaqua.etoilebsd.net> References: <20130430103821.GJ3577@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 19:18:49 -0000 Op di 30 apr 2013 12:38:21 schreef Baptiste Daroussin: > Hi all, > > For a while now: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/51152 we > are looking for a framework/helpers to help patching scripts shebang so > that they fit where the interpreters is on FreeBSD. > (...) In there you wrote a patch using /usr/bin/env. Why not stick with that? I'm quite fond of this technique as it's clean and portable. Portability might not be that important when working on a fix for ports alone, but still makes sense to me.