Compiler variants in portfile

Sébastien Maret sebastien.maret at icloud.com
Thu Mar 27 07:14:37 PDT 2014


Hi all,

I’m writing a portfile for a software written in C/C++ and Fortran77/90:
http://trac.macports.org/ticket/42886

Following a comment macsforever2000, I’ve modified my original port to provide several fortran compiler variants. However, my port requires that CC, CXX, CPP, and FC/F77 are all from a gcc variant. For example, it's not possible to compile it using CC=clang and FC=gfortran-mp-4.8. How can I modify it so that all compilers come from the same compiler suite?

Thanks in advance for your advices.

Sébastien




More information about the macports-dev mailing list