Synopsis: libX11 canoot build on systems with non-GNU 'cpp' (in this case,I had this problem on HP-UX as well. Some modular X.org packages have a workaround for the HP compiler. Does the same work for mipspro? e.g. x11/libX11/Makefile has: .include "../../mk/compiler.mk" .if !empty(PKGSRC_COMPILER:Mhp) CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -" .endif
That looks as if it'd do it...Presumably this affects the tests run by configure only, so that system headers which may include code on the basis of 'unix' being defined aren't affected?