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

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

me@raspberry-pi:~ %

As a result building ports is a nightmare.

Note how in AMD64 it works:
me@amd64:~ % make
/usr/local
clang
me@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
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to