graphics/libfpx: use of bsd.lib.mk and warnings

Thomas Zander thomas.e.zander at googlemail.com
Sat Jul 28 16:25:35 UTC 2012


On Mon, Jun 11, 2012 at 11:00 PM, Andriy Gapon <avg at freebsd.org> wrote:

> I see that graphics/libfpx uses a custom FreeBSD-specific makefile which makes
> use of bsd.lib.mk and sets WARNS to 3.
> I think that this is an unsustainable approach.
> First, the external libraries are not under our control and may adhere to some
> different policy with respect to warnings.
> Second, different compilers (gccXY, clang) may be used to compile ports and they
> may produce new warnings-come-errors.

It also causes the port to use clang when setting CC=clang in
/etc/src.conf (!) which fails here.
I am truly and utterly surprised that nobody seems to have this problem.

Riggs


More information about the freebsd-ports mailing list