Re: Using outside values in a Portfile tcl

2019-09-21 Thread Gerben Wierda
Agreed, but then using other strings such as ‘macportshost’ instead of ‘host’ would make it a lot easier to find where they have been used so you know what to change. Host domain and tld are so generic it makes it more difficult to discern what has been the result of basic config. Gerben

Re: Using outside values in a Portfile tcl

2019-09-21 Thread Steven Smith
> > other strings such as ‘macportshost’ instead of ‘host’ would make it a lot > > easier to find where they have been used so you know what to change It’s already trivially easy to find, and only appears in four configuration files anyway. As you can see in the Portfile, these variables are

Re: [MacPorts-announce] MacPorts 2.6.0 has been released

2019-09-21 Thread Ryan Schmidt
On Sep 20, 2019, at 22:30, Joshua Root wrote: > Of special note for users of 10.6-10.8: The default C++ stdlib has > changed from libstdc++ to libc++. This will enable building ports that > require C++11 and beyond much more easily. All C++-based ports using the > old stdlib will need to be

Re: Portfile question (actually, tcl question)

2019-09-21 Thread Piet van Oostrum
Gerben Wierda writes: > set startupitemstring [variant_isset "withdnsserver" ? "port load > dns-server\n\t" : ""] Try this one: set startupitemstring [expr [variant_isset withdnsserver] ? {"port load dns-server\n\t"} : {""}] -- Piet van Oostrum WWW: http://piet.vanoostrum.org/ PGP key:

Thank you for defaulting to libc++ on older systems

2019-09-21 Thread Ken Cunningham
I would like to thank everyone, especially Josh who did the bulk of the heavy lifting and Jeremy who initially designed the whole setup, for the work involved in making the default to libc++ happen for all these systems. Although, no doubt, we may find a few hiccups that need to be tweaked, on