From owner-freebsd-ports@FreeBSD.ORG Sat Jul 7 23:23:09 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B27B0106564A; Sat, 7 Jul 2012 23:23:09 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id E45978FC19; Sat, 7 Jul 2012 23:23:08 +0000 (UTC) Received: by wibhm11 with SMTP id hm11so1482974wib.13 for ; Sat, 07 Jul 2012 16:23:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v4BAFjHxaxnBgr7K7v2FPNc3GFCGredk6X57/ZlWSJA=; b=U4C3myIq5QiUFgtpR6rMl/N/sPnDxpEypeV9txeCpnT7n/E5wGxJNYBesBikjNg3yr 5sXqAKWvK0Iizs4v6+yNjRNXeUd+1Ized2dyIS7axFqCnaKp3Wh455Aoo8DyQhEtBypB BQFel2ybDGMq/n6TbYNKERYt/O31nSxS7NP9WDLqHO4G3bBmJ5yzMsk7N4RwAS43jVI7 DH3t+nlpXIWR1+ZqT9ONeGW3KoG5f23rc53bSyMrwDdB44KC3Jrfa2GhdbmQSXKSpjQZ UxCY+Bz7VcCjUjnLwIkB3nwJCpIMk2WwCmp4HZGgZsTuNlKuTaR6L8Ga2cfi+rHAfSzD BZjA== MIME-Version: 1.0 Received: by 10.217.2.69 with SMTP id o47mr2328957wes.22.1341703387753; Sat, 07 Jul 2012 16:23:07 -0700 (PDT) Received: by 10.223.155.4 with HTTP; Sat, 7 Jul 2012 16:23:07 -0700 (PDT) In-Reply-To: <4FF81AAF.4000402@FreeBSD.org> References: <4FF81AAF.4000402@FreeBSD.org> Date: Sat, 7 Jul 2012 16:23:07 -0700 Message-ID: From: Kevin Oberman To: Doug Barton Content-Type: text/plain; charset=UTF-8 Cc: office@freebsd.org, FreeBSD ports list Subject: Re: libreoffice, 10-current, and clang X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2012 23:23:09 -0000 On Sat, Jul 7, 2012 at 4:17 AM, Doug Barton 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