libreoffice, 10-current, and clang

Kevin Oberman kob6558 at gmail.com
Sat Jul 7 23:23:09 UTC 2012


On Sat, Jul 7, 2012 at 4:17 AM, Doug Barton <dougb at freebsd.org> wrote:
> Even though I am on 10-current, where the clang --version is nominally
> the same as the one in ports, the current version of the libreoffice
> port is telling me I need to install the clang port. Why?
>
> Also, the port has this:
>
> CXXCPP= ${LOCALBASE}/bin/clang++ -E
> CPP=    ${LOCALBASE}/bin/clang -E
>
> whereas for CPP at least the wiki says specifically not to do that, but
> to use clang-cpp instead. Why the discrepancy here?

Oddly, the Makefile has commented out code to check for clang in base:
#.if !exists(/usr/bin/clang)
#BUILD_DEPENDS+=        ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang
#USE_BINUTILS=  yes
#CXXCPP=        clang++ -E
#CPP=   clang -E
#.endif

But the version in 9-stable of the past several weeks is 3.1, so,
unless the ports version has some important changes, it looks like it
is a waste of time to build the port of both clang and llvm.
--
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com


More information about the freebsd-office mailing list