cvs commit: ports/Mk bsd.port.mk bsd.port.subdir.mk

David O'Brien obrien at FreeBSD.org
Sun Dec 19 14:10:00 PST 2004


On Thu, Dec 09, 2004 at 09:44:48PM +0000, Kirill Ponomarew wrote:
> krion       2004-12-09 21:44:48 UTC
>   FreeBSD ports repository
>   Modified files:
>     Mk                   bsd.port.mk bsd.port.subdir.mk 
>   Log:
>   * Add new command macros: DATE, FMT, MKTEMP, OBJDUMP,
>     and use command macro SORT. [1]

What is the use of all these macros?  Back when we first added them in
the Satoshi day, they were actually useful.  'ls' vs. '${LS}' isn't.  We
had MKDIR so that the '-p' option would be used.  We had TAR because we
tried to support both {Open,Net}BSD and FreeBSD.

I think we've forgotten the purpose of macros like these and just keep
adding them for command-line utils that have need to have them.

-- 
-- David  (obrien at FreeBSD.org)


More information about the cvs-all mailing list