Created attachment 203932 [details] patch net/p5-MaxMind-DB-Reader-XS doesn't respect ${CC} and uses base GCC on GCC architectures. Add CONFIGURE_ENV+=CC=${CC} to respect it and fix build.
A commit references this bug: Author: sunpoet Date: Tue Apr 23 17:53:38 UTC 2019 New revision: 499785 URL: https://svnweb.freebsd.org/changeset/ports/499785 Log: Fix build on powerpc - Respect CC PR: 237499 Submitted by: pkubaj Changes: head/net/p5-MaxMind-DB-Reader-XS/Makefile
Committed. Thanks!
You committed CONFIGURE_ENV= (not +=), which overwrites existing CONFIGURE_ENV.
There is no existing CONFIGURE_ENV before that line. CONFIGURE_ENV entries are added by framework after ".include <bsd.port.mk>". Please check again the result of "make -V CONFIGURE_ENV" with/without +.
(In reply to Piotr Kubaj from comment #3) Do you have CONFIGURE_ENV settings in /etc/make.conf?
(In reply to Sunpoet Po-Chuan Hsieh from comment #4) Ah, you're right. I assumed that the existing CONFIGURE_ENV (set from Mk) will be overwritten, but that is not the case. Sorry for the noise.