Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2013 19:35:00 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        ports@freebsd.org
Subject:   Re: [BRAINSTORM] shebang fixing framework
Message-ID:  <20130430173500.GP3577@ithaqua.etoilebsd.net>
In-Reply-To: <CAF6rxgn_hYd=HTBPm_53UgKd1dGt-ChNZQUoi7-CViZJNtFeGw@mail.gmail.com>
References:  <20130430103821.GJ3577@ithaqua.etoilebsd.net> <CAF6rxgn_hYd=HTBPm_53UgKd1dGt-ChNZQUoi7-CViZJNtFeGw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--aNvCJ41Feu8IgPyB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 30, 2013 at 01:31:47PM -0400, Eitan Adler wrote:
> On 30 April 2013 06:38, Baptiste Daroussin <bapt@freebsd.org> wrote:
>=20
> > So far what has been proposed already is:
> > - replace ${lang}_FILES by FIX_${lang}
> > - nuke SHEBANG_LANG in favor of USES=3D shebangfix:perl:python
> > - nuke SHEBANG_LANG in favor of USES=3D shebangfix:"perl python"
> > - nuke SHEBANG_LANG in favor of USES=3D shebangfix:perl+python
>=20
> 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}'
>=20
> If a general solution is not possible I'd prefer USES=3Dshebangfix imply
> all of USES=3Dshebangfix:perl:python:php etc.
>=20
> I'm also not sure about the lang_FILES=3D.  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.
>=20

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 bui=
ld
the whole ports tree few seconds there and there will become hours

regards,
Bapt

--aNvCJ41Feu8IgPyB
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlGAAMQACgkQ8kTtMUmk6ExXEgCghmtGgp44xLxFAS5PbbRHKPnZ
Ha8AnRzz+wcWUVVrnJexcPt2JorRlp6U
=6gU+
-----END PGP SIGNATURE-----

--aNvCJ41Feu8IgPyB--



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