On the usage of ${FILE}

Matthew Seaman matthew at FreeBSD.org
Thu Mar 1 11:24:56 UTC 2012


Dear all,

bsd.commands.mk has the following:

FILE?=          /usr/bin/file

which is unfortunate, given that ${FILE} is used in several thousand
ports, generally as a loop control variable for iterating through a list
of files. In fact, I can only find about 8 places where the file(1)
program is intended.

This obvious conflict of meanings seems pretty undesirable to me.  Am I
missing something?  Is there any reason to keep the status quo rather
than changing the bsd.commands.mk variable to FILE_CMD and making the
corresponding changes in those 8 places?

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20120301/f5e0f616/signature.pgp


More information about the freebsd-ports mailing list