Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2012 18:25:34 +0200
From:      Thomas Zander <thomas.e.zander@googlemail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD Ports <ports@freebsd.org>, "Mikhail T." <mi@aldan.algebra.com>
Subject:   Re: graphics/libfpx: use of bsd.lib.mk and warnings
Message-ID:  <CAFU734wf%2Bawkp_7nyR9JS-LH_uWLkm0rT329SJs1C-bd-uALLA@mail.gmail.com>
In-Reply-To: <4FD65C64.3080001@FreeBSD.org>
References:  <4FD65C64.3080001@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 11, 2012 at 11:00 PM, Andriy Gapon <avg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFU734wf%2Bawkp_7nyR9JS-LH_uWLkm0rT329SJs1C-bd-uALLA>