On 31/01/2015 15:30, Jan Beich wrote:

 Also, the following wouldn't work

   .if ${CHOSEN_COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} == 49

because COMPILER_VERSION or COMPILER_FEATURES are evaluated against
COMPILER_TYPE, not CHOSEN_COMPILER_TYPE.

That is a good point, it appears we currently only get the chosen compiler type and not it's version or features.

So COMPILER_FEATURES and COMPILER_VERSION should be set against
CHOSEN_COMPILER_TYPE as that is the one to be used to build the current
port, which would be the one we want to know about when making build
decisions.

Or at least there should be CHOSEN_COMPILER_FEATURES and CHOSEN_COMPILER_VERSION

I have chosen to submit this as a bug report -
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197219


--
FreeBSD - the place to B...Software Developing

Shane Ambler

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to