Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2012 16:23:07 -0700
From:      Kevin Oberman <kob6558@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        office@freebsd.org, FreeBSD ports list <freebsd-ports@freebsd.org>
Subject:   Re: libreoffice, 10-current, and clang
Message-ID:  <CAN6yY1ueDabdxgmTxbiy=DCQnkFpMshp62%2B=iC0FQrdg%2BnL31A@mail.gmail.com>
In-Reply-To: <4FF81AAF.4000402@FreeBSD.org>
References:  <4FF81AAF.4000402@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 7, 2012 at 4:17 AM, Doug Barton <dougb@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1ueDabdxgmTxbiy=DCQnkFpMshp62%2B=iC0FQrdg%2BnL31A>