Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Feb 2004 12:34:03 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-ports@FreeBSD.org
Subject:   Re: HEADS UP: Latest round of bsd.*.mk changes
Message-ID:  <1075916043.761.7.camel@gyros>
In-Reply-To: <20040204084200.GA19129@xor.obsecurity.org>
References:  <1075871381.76993.21.camel@shumai.marcuscom.com> <200402041012.01057.andy@athame.co.uk> <1075883393.76993.63.camel@shumai.marcuscom.com> <20040204084200.GA19129@xor.obsecurity.org>

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

--=-o8JO/g4/Jx7JpqKQG0RQ
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2004-02-04 at 03:42, Kris Kennaway wrote:
> On Wed, Feb 04, 2004 at 03:29:54AM -0500, Joe Marcus Clarke wrote:
>=20
> > Perhaps we need something like USE_GETTEXT_BUILD similar to
> > USE_PERL5_BUILD.  Whatever is the choice, please submit a PR so we can
> > track this.  Thanks.
>=20
> Is that really necessary?  i.e. does it buy a significant improvement
> over using the explicit BUILD_DEPENDS in the relative few ports that
> use it?

No, after a good night's rest, it's probably superfluous since a
executable dependency isn't likely to change anytime soon.

>=20
> I'm becoming concerned at the proliferation of variables being added
> to b.p.m - the trend towards macro'izing every conceivable shell
> command used by ports is another one I'm uncomfortable with (why?).

There are a few reasons I feel this is a good thing.

1. Consistency.  All Makefiles use base system commands in the same way.

2. Replace-ability.  It is trivial to fix ports if executables change
location.

3. Security.  By having macros that point to fully-qualified paths, we
eliminate the chance or trojan horses in people's paths.

Joe

>=20
> Kris
--=20
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus@FreeBSD.org
gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


--=-o8JO/g4/Jx7JpqKQG0RQ
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQBAIS0Lb2iPiv4Uz4cRAsvdAJ91KDznYtXYq5WYq3SxIBOfE3+UaACfcYZ4
G0mF0G9YTWmL5TXXesg+MB0=
=EaQd
-----END PGP SIGNATURE-----

--=-o8JO/g4/Jx7JpqKQG0RQ--



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