Questions about/issues with new OPTIONS framework

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Aug 8 06:53:59 UTC 2012


On 08/08/2012 07:25, Matthew Seaman wrote:
> Actually, that raises an important point, because the constructed
> variable names like 'mysql55-client_SET' should perhaps have
> syntactically significant characters like '-', '+' mapped to '_'

Interesting.  A very quick test shows that make(1) variables seem to
work just fine despite those significant characters:

% cat Makefile

Foo-bar= wibble
Baz+QUX= flonk

all:
	@echo ${Foo-bar}
	@echo ${Baz+QUX}

% make
wibble
flonk

That came as quite a surprise to me.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew at infracaninophile.co.uk               Kent, CT11 9PW

-------------- 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/20120808/1548f15b/signature.pgp


More information about the freebsd-ports mailing list