https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273479
--- Comment #14 from Baptiste Daroussin <b...@freebsd.org> --- this patch does not do the same as -Dlibelf=disabled it probably continues readying at the elf.h headers due to the use (which seems useless to me here) of USES=localbase:ldflags Uses=localbase will force -isystem /usr/local/include which will put this path in the first path to look for headers, meaning libelf.h will be taken from there if found. Removing the USES=localbase:ldflags works fine for me locally and this way I am sure elf.h is picked up from base. -- You are receiving this mail because: You are on the CC list for the bug.