HEADS UP: Latest round of bsd.*.mk changes

Joe Marcus Clarke marcus at FreeBSD.org
Wed Feb 4 09:34:07 PST 2004

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:
> > 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.
> 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.

> 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

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


> Kris
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus at FreeBSD.org
gnome at FreeBSD.org
FreeNode / #freebsd-gnome

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040204/d6a29c0a/attachment-0001.bin

More information about the freebsd-ports mailing list