libreoffice, 10-current, and clang
Jung-uk Kim
jkim at FreeBSD.org
Wed Jul 11 00:18:28 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-07-07 19:23:07 -0400, Kevin Oberman wrote:
> 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.
FYI, clang in the head and ports tree have the same regression. You
can patch contrib/llvm/tools/clang/lib/Sema/SemaDeclCXX.cpp[1] and do
buildworld & installworld Then, update the ports tree[2] and try "make
WITH_SYSTEM_CLANG=yes".
Jung-uk Kim
1.
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?view=patch&r1=159717&r2=159895
2. http://docs.freebsd.org/cgi/mid.cgi?201207102353.q6ANrDtx051945
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/8xlMACgkQmlay1b9qnVOL9QCgqD7PT6JViNz2fVwyGVQZIN+C
xIsAoLiSaqfRwNkUV6NPrnbq8AWIex3c
=/OpE
-----END PGP SIGNATURE-----
More information about the freebsd-office
mailing list