Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2014 17:00:16 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Steven Kreuzer <skreuzer@freebsd.org>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>, FreeBSD Ports Management Team <portmgr@freebsd.org>
Subject:   Re: shebangfix for /bin/sh
Message-ID:  <E098CD38E82BDADDF6ACCA7A@ogg.in.absolight.net>
In-Reply-To: <CAFFB%2BpSWEhbaSB3wyuV_JFcu93S-7nHWjQxkyR-Lv5w8tYdYwQ@mail.gmail.com>
References:  <CAFFB%2BpTnbZZ3rzxyz8JX_F4VQ8yh3FPRO3r%2B9myB=yBWq4FegA@mail.gmail.com> <CAFFB%2BpRmypLz%2BCfgRR%2BfHHaavuXOKJ-1FUYgZ9YNqryxKCh66g@mail.gmail.com> <20140325134850.GD4402@ithaqua.etoilebsd.net> <CAFFB%2BpSWEhbaSB3wyuV_JFcu93S-7nHWjQxkyR-Lv5w8tYdYwQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+--On 26 mars 2014 11:44:21 -0400 Steven Kreuzer <skreuzer@freebsd.org>
wrote:
| On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin <bapt@freebsd.org>
| wrote:
|> On Tue, Mar 25, 2014 at 09:36:37AM -0400, Steven Kreuzer wrote:
|>> On Fri, Mar 14, 2014 at 1:08 PM, Steven Kreuzer <skreuzer@freebsd.org>
|>> wrote:
|>> > Hi All-
|>> > 
|>> > I am in the process of cleaning up sysutils/DTraceToolkit and I would
|>> > like to make use of USES=shebangfix
|>> > 
|>> > However, it looks like on solaris, sh is /usr/bin/sh so I would like
|>> > to propose the following change:
|>> > 
|>> > http://people.freebsd.org/~skreuzer/patches/shebang.patch
|>> 
|>> Can someone from portmgr chime in on this? I would like to get it
|>> committed so I can commit some changes to sysutils/DTraceToolkit
|>> 
|>> Thanks
|> 
|> How many ports are concerned?
|> if just one there is no need to add this into shebangfix.mk
| 
| So far I have only seen this in one port. I am not sure how widespread it
| is. However, it looks like this is a solaris-ism so it seems like we
| should just include it as part of shebangfix instead of doing it in just
| that one port.
| 
| If you guys disagree, I will just do it in the port.

Well, unless it's needed in more than, say, a dozen ports, I see no reason
to have all of the possible edge cases in the generic shebangfix.mk, it is
extendable, for that exact reason.

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E098CD38E82BDADDF6ACCA7A>