Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-26 Thread Marcus von Appen
On, Sat Oct 25, 2014, Torfinn Ingolfsen wrote: On Fri, Oct 24, 2014 at 10:32 PM, Henry Hu henry.hu...@gmail.com wrote: I just tried it on 8.4-RELEASE/amd64 and it failed with the same error. It seems like that the gcc on 8.4 is too old. One way to fix it is adding USE_GCC=yes to

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-26 Thread Torfinn Ingolfsen
On Sun, Oct 26, 2014 at 2:33 PM, Marcus von Appen m...@freebsd.org wrote: On, Sat Oct 25, 2014, Torfinn Ingolfsen wrote: Interesting. I tried this: root@kg-core1# grep USES Makefile USES= tar:bzip2 cmake compiler:c11 I just committed that fix in r371503, thanks! Cheers Marcus Thanks

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-25 Thread Torfinn Ingolfsen
On Fri, Oct 24, 2014 at 10:32 PM, Henry Hu henry.hu...@gmail.com wrote: I just tried it on 8.4-RELEASE/amd64 and it failed with the same error. It seems like that the gcc on 8.4 is too old. One way to fix it is adding USE_GCC=yes to makefile. This will use gcc 4.8 by default and it builds

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-24 Thread Torfinn Ingolfsen
Sure. tingo@kg-core1$ more test.c #include stdio.h #define foo2(x,y) x##y #define foo(x, y) foo2(x,y) typedef int foo(bar, __COUNTER__); typedef float foo(bar, __COUNTER__); int main() { printf(%d %d %d\n, foo(0, __COUNTER__), foo(1, __COUNTER__), foo(2, __COUNTER__)); } tingo@kg-core1$ cc

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-24 Thread Henry Hu
On Fri, Oct 24, 2014 at 2:51 PM, Torfinn Ingolfsen tin...@gmail.com wrote: Sure. tingo@kg-core1$ more test.c #include stdio.h #define foo2(x,y) x##y #define foo(x, y) foo2(x,y) typedef int foo(bar, __COUNTER__); typedef float foo(bar, __COUNTER__); int main() { printf(%d %d %d\n,

audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-23 Thread Torfinn Ingolfsen
portinstall fails: root@kg-core1# portinstall -R openal-soft [Reading data from pkg(8) ... - 1005 packages found - done] [Gathering depends for audio/openal-soft . done] --- Installing 'openal-soft-1.16.0' from a port (audio/openal-soft) --- Building

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-23 Thread Torfinn Ingolfsen
Also, MAKE_JOBS_UNSAFE=yes doesn't help: root@kg-core1# MAKE_JOBS_UNSAFE=yes make === License LGPL20 accepted by the user === Found saved configuration for openal-soft-1.16.0 === openal-soft-1.16.0 depends on file: /usr/local/sbin/pkg - found === Fetching all distfiles required by

Re: audio/openal-soft fails to install on FreeBSD 8.4-stable

2014-10-23 Thread Henry Hu
On Thu, Oct 23, 2014 at 4:31 PM, Torfinn Ingolfsen tin...@gmail.com wrote: Also, MAKE_JOBS_UNSAFE=yes doesn't help: root@kg-core1# MAKE_JOBS_UNSAFE=yes make === License LGPL20 accepted by the user === Found saved configuration for openal-soft-1.16.0 === openal-soft-1.16.0 depends on file: