tech-pkg archive

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

Re: firefox on NetBSD/i386 8.0



On Tue, 07 Sep 2021 09:21:11 +0200 (CEST)
Havard Eidnes <he%NetBSD.org@localhost> wrote:

> Hi,
> 
> it appears to me that this construct from mozilla-common.mk:
> 
> .if !empty(MACHINE_PLATFORM:MNetBSD-8.*-*)
> BUILDLINK_DEPMETHOD.gcc8=      full
> .include "../../lang/gcc8/buildlink3.mk"
> CWRAPPERS_PREPEND.cxx+= \
>         -L${BUILDLINK_PREFIX.gcc8}/gcc8/lib \
>         ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gcc8}/gcc8/lib \
>         -stdlib++-isystem \
>         ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++ \
>         -stdlib++-isystem \
>         ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++/${MACHINE_GNU_PLATFORM} \
>         -stdlib++-isystem \
>         ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++/backward
> .endif
> 
> doesn't actually work.

I think this broke with Makefile version 1.458 which changed
the way pkgsrc, GCC and clang interact.
-stdlib++-isystem is a clang option, not a GCC option.

> What to do?

Maybe this monstrosity isn't needed any more.
What happens if you remove it?
(It should be removed even if the package is still broken.)

Kind regards,
-Tobias


Home | Main Index | Thread Index | Old Index