svn commit: r408996 - head/emulators/wine-devel

David Naylor naylor.b.david at gmail.com
Tue Feb 16 20:04:29 UTC 2016


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,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20160216/eed9545f/attachment.sig>


More information about the svn-ports-all mailing list