some existing COMPILER lines with arch restrictions etc. In the usual
case this is now using "COMPILER = base-clang ports-gcc base-gcc" on
ports with c++ libraries in WANTLIB.
This is basically intended to be a noop on architectures using clang
as the system compiler, but help with other architectures where we
currently have many ports knocked out due to building with an unsuitable
compiler -
- some ports require c++11/newer so the GCC version in base that is used
on these archirtectures is too old.
- some ports have conflicts where an executable is built with one compiler
(e.g. gcc from base) but a library dependency is built with a different
one (e.g. gcc from ports), resulted in mixing incompatible libraries in the
same address space.
devel/gmp is intentionally skipped as it's on the path to building gcc -
the c++ library there is unused in ports (and not built by default upstream)
so intending to disable building gmpcxx in a future commit.
/usr/obj/ports/libreoffice-6.1.0.3/libreoffice-6.1.0.3/instdir/sdk/lib/libuno_cppuhelpergcc3.so: undefined reference t
o `operator new(unsigned long, std::align_val_t)'
/usr/obj/ports/libreoffice-6.1.0.3/libreoffice-6.1.0.3/instdir/sdk/lib/libuno_cppuhelpergcc3.so: undefined reference t
o `operator delete(void*, std::align_val_t)'
unneeded softokn3, sometimes replace it by nssutil3) - note that there
might be more WANTLIB to fix/remove from those ports, but i only
concentrated on the changes related to nss.
/usr/obj/ports/libreoffice-5.2.7.2/libreoffice-5.2.7.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:164:32: error: unknown type name '__si_class_type_info'
/usr/obj/ports/libreoffice-5.2.7.2/libreoffice-5.2.7.2/bridges/source/cpp_uno/gcc3_linux_intel/except.cxx:170:32: error: unknown type name '__class_type_info'
previously failed with segfaults during build.
- make sure to link with the static libmythes in the build to avoid a runtime
crash
- since libreoffice uses a bundled boost, let's make sure we don't pick
up anything from the one installed on the system by using the proper
include directory order