Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2016 22:04:24 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        Gerald Pfeifer <gerald@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r408996 - head/emulators/wine-devel
Message-ID:  <2895195.sQB7GcOYV9@dragon.local>
In-Reply-To: <201602161356.u1GDuPS3017648@repo.freebsd.org>
References:  <201602161356.u1GDuPS3017648@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nextPart5621535.bp1lCHlTg9
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"

On Tuesday, 16 February 2016 13:56:25 Gerald Pfeifer wrote:
> Author: gerald
> Date: Tue Feb 16 13:56:24 2016
> New Revision: 408996
> URL: https://svnweb.freebsd.org/changeset/ports/408996
> 
> Log:
>   On FreeBSD 9.x, even when CHOSEN_COMPILER_TYPE from Mk/Uses/compiler.mk
>   is set to clang, COMPILER_VERSION is still at 42 from the system compiler
>   that is GCC 4.2.

I believe COMPILER_VERSION is the version of COMPILER_TYPE, and that no 
variable actually shows the version of CHOSEN_COMPILER_TYPE.  The closest one 
can get (but still wrong in some cases) is:

.if ${CHOSEN_COMPILER_TYPE} == ${COMPILER_TYPE}
CHOSEN_COMPILER_VERSION=	${COMPILER_VERSION}
.else
CHOSEN_COMPILER_VERSION=	${ALT_COMPILER_VERSION}
.endif

Regards,
--nextPart5621535.bp1lCHlTg9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAABCgBmBQJWw4DIXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5NDhFQzUxMUEyN0YwMzAyRTc5OUI1M0FB
RDYzRkE4REQ2QjJEQTU1AAoJEK1j+o3WstpViQQQAMb01ml7AlyJeoery7INphJ0
7yqstaqtr5Ukxd1p45LN6AmBVO1yaUX6O0Es/OY4nLj0mkKuDyVFhx2T+g+JUxUx
Exm1CxDpPzU6kqsTV3xXIHAAHW8hOrKl/m3KoqY9BjjJF0g3A9NIo6mXB5EH1Wte
WwoKDQfPtanrgovvlwaf62Ic4Qte7qSIOBDJQB64NaCYOn+d05YMTogmaJPbcJVy
2ggVVw+iCIM5rdmd2Pobq2rpw6jg+UiFWCW6+5cnFE9H7JAsgW6QoaO7t9oHn9NB
d7MOyBK4Hc9oGOJrwseNwkk1UjH7XeMIMnBkOmmHnInIY22POXMTQcI4JaTVHPld
1Jf38q4ZKWPnunDNbMKGoDhwWg2kpeWDZ0Ft4CvQq62FkNHoo6k2LiQZnbFzubu/
PTgK/4fyj0CvRAI/PmyMbdAnsJipfLbrKiij8IogDpPSYyRASh1mS6yC0Cg/NZxB
Y+aBnCeq1EaBObrSPHPwXFffxmVk7zkXL1M3ZW6KXd0NXEx1XJgBldszyhYfFmCw
GdVMc5AbAaPQi7BaSk+tCu3Se/D2PFQ7XKFZNB7oA5W37biQdGqig7A8Y8MAitKs
VVktZQn5lmqisjwqGqHFSCHJtAxBMssgORKDO5g33XNZOY2D71pw11hmrJfJ+S++
LDp80YQyQIh0VKkYsExi
=wuew
-----END PGP SIGNATURE-----

--nextPart5621535.bp1lCHlTg9--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2895195.sQB7GcOYV9>