[BRAINSTORM] shebang fixing framework

Baptiste Daroussin bapt at freebsd.org
Tue Apr 30 17:35:05 UTC 2013


On Tue, Apr 30, 2013 at 01:31:47PM -0400, Eitan Adler wrote:
> On 30 April 2013 06:38, Baptiste Daroussin <bapt at freebsd.org> wrote:
> 
> > So far what has been proposed already is:
> > - replace ${lang}_FILES by FIX_${lang}
> > - nuke SHEBANG_LANG in favor of USES= shebangfix:perl:python
> > - nuke SHEBANG_LANG in favor of USES= shebangfix:"perl python"
> > - nuke SHEBANG_LANG in favor of USES= shebangfix:perl+python
> 
> I would rather see a general solution rather than including a per
> language fix.   Ideally we can do something to the effect of
> 's,/usr/bin,${PREFIX}'
> 
> If a general solution is not possible I'd prefer USES=shebangfix imply
> all of USES=shebangfix:perl:python:php etc.
> 
> I'm also not sure about the lang_FILES=.  Applying the sed (assuming
> it can be made specific enough) to the entire tree would be nice, but
> may take too long, especially on large work directories.  I guess it
> isn't too bad.
> 

All of this will be damn slow operations, we want to keep this as fast as
possible, even if per-ports it seems quite fast, when you are about the build
the whole ports tree few seconds there and there will become hours

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130430/dd301895/attachment.sig>


More information about the freebsd-ports mailing list