shebangfix for /bin/sh
mat at FreeBSD.org
Wed Mar 26 16:00:19 UTC 2014
+--On 26 mars 2014 11:44:21 -0400 Steven Kreuzer <skreuzer at freebsd.org>
| On Tue, Mar 25, 2014 at 9:48 AM, Baptiste Daroussin <bapt at freebsd.org>
|> 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 at freebsd.org>
|>> > 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
|> 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.
More information about the freebsd-ports