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

2012-07-29 Thread Thomas Zander
On Sat, Jul 28, 2012 at 7:59 PM, Mikhail T. wrote: > On 28.07.2012 12:25, Thomas Zander wrote: > > It also causes the port to use clang when setting CC=clang in > /etc/src.conf (!) which fails here. > > What if you use CC?=clang instead? Thanks, This works: CC?=clang CXX?=clang++ CPP?=clang-cpp

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

2012-07-28 Thread Mikhail T.
On 28.07.2012 12:25, Thomas Zander wrote: It also causes the port to use clang when setting CC=clang in /etc/src.conf (!) which fails here. What if you use CC?=clang instead? Thanks, -mi ___ freebsd-ports@freebsd.org mailing list http://lists.fre

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

2012-07-28 Thread Mikhail T.
On 28.07.2012 13:46, Andriy Gapon wrote: I very much wonder how the above email ended up having From: set to_my_ email address. My apologies. Thunderbird's "Virtual Identity" extension got confused and I failed to notice :( I am sorry. -mi ___

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

2012-07-28 Thread Andriy Gapon
on 28/07/2012 19:28 Andriy Gapon said the following: > On 28.07.2012 12:25, Thomas Zander wrote: >> 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. > > The idea of using

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

2012-07-28 Thread Thomas Zander
On Sat, Jul 28, 2012 at 6:28 PM, Andriy Gapon wrote: > Does it fail to build with clang? Yes: clang++ -fpic -DPIC -O2 -pipe -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -Qunused-arguments -fstack-protector -Werror -Wall -Wno-format-y2k -W -Wno-unused-par

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

2012-07-28 Thread Andriy Gapon
On 28.07.2012 12:25, Thomas Zander wrote: 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. The idea of using bsd.lib.mk is simple: here are the sources, please, build me a

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

2012-07-28 Thread Thomas Zander
On Mon, Jun 11, 2012 at 11:00 PM, Andriy Gapon 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 adher

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

2012-06-11 Thread Andriy Gapon
[Cc-ing mailing list just in case it is useful for other port maintainers] Mikhail, 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 ou