From owner-freebsd-ports@FreeBSD.ORG Sun Jul 3 17:08:36 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62506106566B; Sun, 3 Jul 2011 17:08:36 +0000 (UTC) (envelope-from villa.alberto@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2FB8FC0A; Sun, 3 Jul 2011 17:08:35 +0000 (UTC) Received: by wyg24 with SMTP id 24so4191083wyg.13 for ; Sun, 03 Jul 2011 10:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=IkMobf+p2t9IkdKsN/w84aBT4lib0D8uNmrMnDMUDzw=; b=rPiQ/FZPgcS7TvWhDLKmQQhJc6k/eNQq7olmxnrviIIddROsBkikggNTdRoSPmQtLJ Vt2/laJE9Wvki/G0YzR5P5vXDU2KVWux8ZY3U7dSRYaXuRC7LEuVik0z6stTzYXV8x4q Kdq7Vz0uCn3HIV/beg8wpkPrEdnl1nt8CkY5U= Received: by 10.216.187.65 with SMTP id x43mr3181693wem.62.1309712914145; Sun, 03 Jul 2011 10:08:34 -0700 (PDT) Received: from woodstock.peanuts (host142-75-dynamic.11-79-r.retail.telecomitalia.it [79.11.75.142]) by mx.google.com with ESMTPS id fn12sm262832wbb.55.2011.07.03.10.08.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jul 2011 10:08:33 -0700 (PDT) Sender: Alberto Villa From: Alberto Villa Organization: The FreeBSD Project To: Chris Rees Date: Sun, 3 Jul 2011 19:08:28 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-CURRENT; KDE/4.6.4; amd64; ; ) References: <201107020136.03974.avilla@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1357030.0LpN1Y5vuU"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201107031908.31427.avilla@freebsd.org> Cc: ports@freebsd.org, Rene Ladan , Oliver Pinter Subject: Re: failed bsd.qt.mk fix... 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: Sun, 03 Jul 2011 17:08:36 -0000 --nextPart1357030.0LpN1Y5vuU Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Sunday 03 July 2011 15:25:09 Chris Rees wrote: > As I read it, while it supports a system where cc is a link to clang, > it still clobbers whatever ${CC} variable I have set. this is wrong. here is how the logic works: =2D find if cc is gcc or clang =2D if CXX is the default c++, then we're using the system compiler (gcc or= =20 clang) =2D otherwise, find what CXX refers to, and set it as the qt compiler (if a= nd=20 only if there is a qmakespec for this compiler, otherwise fall back to the= =20 system one) this works fine with cc linking to gcc, and CXX=3Dclang++, and passed other= =20 tests using make -VQMAKESPEC CXX=3Dsomething =2D-=20 Alberto Villa, FreeBSD committer http://people.FreeBSD.org/~avilla What this country needs is a dime that will buy a good five-cent bagel. --nextPart1357030.0LpN1Y5vuU Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iJwEAAECAAYFAk4Qog8ACgkQ3xiC6kQ1Cov7DAQArPUsxISOvHpHiX6bmy4BEWD/ MjkRyIJlTwHRBW87nIKbWcQEpOXTIX9T1TFzjYbzns39KNSQ38fvnjWh27s8oe1U JR8U/RZgFAs/92AGeP75UQ/OJz73HcJqmlZAjoJKAy9KDdcz8992Q1Qe7+l8M7YI 99lQFPMEy8/+AQz238o= =Kjf6 -----END PGP SIGNATURE----- --nextPart1357030.0LpN1Y5vuU--