converters/php55-iconv in FreeBSD 10

Tijl Coosemans tijl at FreeBSD.org
Mon Feb 17 14:56:41 UTC 2014


On Mon, 17 Feb 2014 13:52:14 +0200 Alexander Panyushkin wrote:
> On 17.02.2014 12:57, Tijl Coosemans wrote:
>> Try to find the file that defines O_NOATIME:
>>
>> grep -Rl O_NOATIME /usr/include /usr/lib /usr/local/include /usr/local/lib
> 
> Nothing
> 
> # grep -Rl O_NOATIME /usr/include /usr/lib /usr/local/include 
> /usr/local/lib
> /usr/local/lib/perl5/5.16/mach/auto/Fcntl/Fcntl.so
> /usr/local/lib/perl5/5.16/mach/Fcntl.pm
> egrep: warning: /usr/local/lib/libxul/bin: recursive directory loop
> egrep: 
> /usr/local/lib/firefox/browser/extensions/{25A1388B-6B18-46c3-BEBA-A81915D0DE8F}: 
> No such file or directory
> 
> 
> I rebuilt libiconv with Clang.
> 
> If build with otions:
>      CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> port build is Ok
> 
> If build with otions:
>      CFLAGS= -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security
> ^^^^^^^^^^
> port build fails

Ok, the solution is to add USE_CSTD=gnu89 to the port Makefile.  I'll
file a PR for that.


More information about the freebsd-stable mailing list