On Sun, Sep 02, 2012 at 10:02:21AM +0200, John Marino wrote:
After commenting out sections of the makefile, I've narrowed down
the problem to this line:
LINE 39: CXX=${CXX_OVERRIDE}
For some reason that sends lintpkgsrc spinning.
Is the problem in that program?
Together with the lines above
.if "${PKGSRC_COMPILER}" == "clang"
# As a result of predefining CXX, .wrapper/bin/clang++ is automatically
# hardlinked to c++, g++, which is exactly what we what!
CXX_OVERRIDE=clang++
.elif "${PKGSRC_COMPILER}" == "gcc"
CXX_OVERRIDE=g++
.else
CXX_OVERRIDE=${CXX}
.endif
CXX=${CXX_OVERRIDE}
This looks like a circular reference -- CXX is set to CXX_OVERRIDE,
which is set to CXX.
Thomas