There is a regression in 2.0\* packages; the variable ${pkgincludedir} is used in some .pc files (mpi-fort specifically), leading to failures: $ pkg-config mpi-fort --libs Variable 'pkgincludedir' not defined in '/usr/lib/pkgconfig/mpi-fort.pc' Removing the clauses from Cflags that have -I${pkgincludedir}/.. and it works.