HEADS UP: Latest round of bsd.*.mk changes
David O'Brien
obrien at FreeBSD.org
Thu Feb 5 22:21:02 PST 2004
On Wed, Feb 04, 2004 at 12:09:42AM -0500, Joe Marcus Clarke wrote:
> Type: BUGFIX
> Title: Remove NetBSD and OpenBSD bits from bsd.port.mk
...
> Type: FEATURE
> Title: Add new DIRNAME macro
> Description: A new DIRNAME macro has been added that points to
> /usr/bin/dirname. All direct use of dirname in ports can be switched
> to this macro.
Why do we define a macro for every utility in /usr/bin? Part of why we
started this was people kept using 'mkdir' and leaving off the "-p", so
Satoshi made that one a macro. Also 'tar' lived in different places on
*BSD, so the TAR macro was created.
But what's so special about 'sort' and 'dirname' to need this treatment?
Do we assume the builder has zero $PATH at all? About the only thing I
can see ${DIRNAME} and ${SORT} doing is lengthening the Makefile action
lines by 3 characters / invocation.
More information about the freebsd-ports
mailing list