Attached please find a small patch that makes editors/openoffice-4 port
build on systems with no 'gcc' binary in path, such as FreeBSD
11-current. There was one place in nss that did not respect CC/CXX env
variables and thus failed to pick up gcc46/g++46 overrides used to
build the port on such systems.
Also included are changes to cope with recent freetype header re-arrangement to allow built-in mozilla and vcl components to compile.
Fix: Attached patch makes it compile again.
Patch attached with submission follows:
How-To-Repeat: Build editors/openoffice-4 on current and observe it to NOT build. Must be familiar sight by now.
Over to maintainer (via the GNATS Auto Assign Tool)
I have done something very similar in ports/185401 about three weeks
ago. Although the port seems to be broken not only on 10 (or current),
no one picked it up. Maybe anyone could use a maintainer timeout? (You
are @FreeBSD, or is it only for src?)
I am not sure, which of the patches is more correct: Since freetype2/ is
already searched, I have removed the freetype/ as it was done in the
freetype port, while you inserted freetype2/ coming from the level above.
Overtaken by earlier PR, which is essentially the same.