[97628] trunk/dports/lang/pfe/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Sep 20 21:36:04 PDT 2012


On Sep 10, 2012, at 02:44, ciserlohn at macports.org wrote:

> Revision: 97628
>          https://trac.macports.org/changeset/97628
> Author:   ciserlohn at macports.org
> Date:     2012-09-10 00:44:28 -0700 (Mon, 10 Sep 2012)
> Log Message:
> -----------
> pfe: doesn't build with clang or llvm-gcc; use libtool from macports (fixes #36075)
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/pfe/Portfile


> +compiler.blacklist  clang llvm-gcc

You should add a comment explaining why you blacklist a compiler. For clang on Xcode 4.4.1 I ran into the following; is this what you saw as well?

error: global register variables are not supported


As for llvm-gcc, you're not actually blacklisting it with the above, because the compiler name is not "llvm-gcc" but "llvm-gcc-4.2". It builds fine for me with llvm-gcc-4.2. What problem did you encounter?


If you're going to blacklist both clang and llvm-gcc-4.2 you have to do more work to fall back to apple-gcc-4.2; see:

https://trac.macports.org/wiki/PortfileRecipes#compiler

But as I said I don't think that's going to be needed in this case.




More information about the macports-dev mailing list