Try to replace MAKE_ENV+= CCOM="gcc" with MAKE_FLAGS+= CCOM="gcc" Does this change solve the problem?
Yes, now the configure stage succeeds and the package gets built.
Also, make sure that bmake show-var VARNAME=PKGSRC_COMPILER says "gcc". See mk/compiler.mk for details. I propose to set this variable in mk.conf explicitely.
It is set to "gcc" already, so no need to mess around in mk.conf. Thanks! -- Jörn Clausen joern.clausen%uni-bielefeld.de@localhost Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/ Universität Bielefeld