per-port make.conf options and hyphenated port names

Matthew Pounsett matt at
Tue Jan 21 15:59:13 UTC 2014

On Jan 21, 2014, at 04:36 , Volodymyr Kostyrko <c.kworr at> wrote:

> 21.01.2014 03:01, Matthew Pounsett wrote:
>> Digging through /usr/ports/Mk/ I can’t find anywhere that $UNIQUENAME is modified to guarantee that it references a safe variable name (i.e. I don’t see anywhere that $UNIQUENAME has reserved characters removed from it before use).  So, given that a lot of times $UNIQUENAME is just the name of the port, and a lot of ports have hyphens in their names, how is this meant to be dealt with?
>> Thanks for any pointers or help!
> Excuse me hijacking the thread but doesn't ports-mgmt/portconf do almost the same?

It might, but not being part of the core ports makefiles it’s not a candidate for use inside tinderbox and other port-building tools.

More information about the freebsd-ports mailing list