compiler.blacklist

Craig Treleaven ctreleaven at cogeco.ca
Fri May 2 18:20:25 PDT 2014


Hi:

For my mythtv-core.xx ports, I want to blacklist clang prior to XCode 
5, so I added:

compiler.blacklist-append { clang <= 500.2.79 } \
     macports-clang*

That doesn't work when I build on Lion with XCode 4.3.3 (clang 
318.0.61)--it tries to build with clang and falls over.

Looking at a bunch of Portfiles that use compiler blacklist, there 
seem to be two approaches used about equally:

{clang < 425} eg webkit-gtk, and

{clang < 425.0.24} eg mpd

If I change my test to { clang < 500 }, is it going to work right?

Thanks,

Craig
(Yes, I'm rather TCL-challenged.  ;)


More information about the macports-dev mailing list