On 14.04.2015 07:44 AM, Mojca Miklavec wrote:
> Could something like that be added to the compiler_blacklist
> PortGroup? I believe that pure C++11 projects need consistent handling
> and it would be very handy to allow a keyword like "compiler.c++11" or
> "compiler.<something> c++11" to replace all of the logic above inside
> a port.

I've now added a new PortGroup called cxx11, which does the blacklisting and
stdlib checking.

Extending compiler_blacklist_versions looked too complicated, as its logic is
contained in multiple procs and one option_proc.

Also, using "PortGroup cxx11 1.0" vs. "compiler.c++11"/"compiler.<something>
c++11" is practically the same thing.

Feel free to improve it and hit me, if I messed something up.



Mihai


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to