Uses/compiler.mk does not trigger under RBPi

José Pérez fbl at aoek.com
Thu Oct 1 23:39:13 UTC 2015


Hi,
I've notice that Uses/compiler.mk is not triggered and as a consequence 
does to set COMPILER_TYPE.

me at raspberry-pi:~ % cat Makefile
all:
         @${ECHO_CMD} ${LOCALBASE}
         @${ECHO_CMD} ${COMPILER_TYPE}
.include <bsd.port.mk>
me at raspberry-pi:~ % make
/usr/local

me at raspberry-pi:~ %

As a result building ports is a nightmare.

Note how in AMD64 it works:
me at amd64:~ % make
/usr/local
clang
me at amd64:~ %

As a workaround I set COMPILER_TYPE=clang in /etc/make.conf but this is 
just an ugly hack.

Can some expert trow a little light on this? Thank you.

Regards,

-- 
José Pérez


More information about the freebsd-ports mailing list