pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: libvpx and gcc 4.4 dependency



On Fri, Sep 05, 2014 at 11:29:50AM +0100, Jonathan Perkin wrote:
> It is expected:
> 
>  - libvpx sets USE_LANGUAGES= c c++, which means that
>    mk/compiler/gcc.mk sets _USE_GCC_SHLIB due to requiring C++
>    support.
> 
>  - lang/gcc47/buildlink.mk adds a full dependency if _USE_GCC_SHLIB is
>    set.
> 
> Whether this is correct, I'm not sure - if libvpx really does use C++
> but doesn't have any dependency on the runtime libraries then there's
> room for some optimisation on NetBSD at least (other platforms
> explicitly require _USE_GCC_SHLIB regardless).

Thank you for the explanation! It looks as though libvpx's tests are
written in C++, and as we configure with --disable-unit-tests, I will
see if we can get away without the c++...

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index