Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 03:04:37PM +0400, Yuri Pankov wrote: > On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote: > > Hi all. > > > > I recently stumbled upon minor inconsistency when building misc/mc. The > > build goes well when CPP is unset or when CPP=clang -E, but fails when

Re: what is a correct way to build ports with clang

2012-01-11 Thread Yuri Pankov
On Wed, Jan 11, 2012 at 12:40:18PM +0200, Volodymyr Kostyrko wrote: > Hi all. > > I recently stumbled upon minor inconsistency when building misc/mc. The > build goes well when CPP is unset or when CPP=clang -E, but fails when > CPP=clang-cpp: > > /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/co

what is a correct way to build ports with clang

2012-01-11 Thread Volodymyr Kostyrko
Hi all. I recently stumbled upon minor inconsistency when building misc/mc. The build goes well when CPP is unset or when CPP=clang -E, but fails when CPP=clang-cpp: /tmp/ports/usr/ports/misc/mc/work/mc-4.7.5.5/config.log: configure:23603: checking for slang.h configure:23618: clang-cpp -lte