svn commit: r339777 - head/lang/modula3

John Marino freebsd.contact at marino.st
Wed Jan 15 14:25:14 UTC 2014


On 1/15/2014 15:17, Mathieu Arnold wrote:
> +--On 15 janvier 2014 13:41:26 +0000 John Marino <marino at FreeBSD.org> wrote:
> |   lang/modula3: Not for FreeBSD 8.x
> |   
> | +.  if !exists(/usr/include/xlocale/_ctype.h)
> | +IGNORE=		the bootstrap compiler only runs on FreeBSD 9.0 or later
> | +.  endif
> |  . endif
> 
> That should be .if ${OSVERSION} < 9000000 or something.
> 

I disagree.
OSVERSION should be discouraged, and detection used instead.  OSVERSION
should only be used as a last resort.  Once Modula3 builds on DragonFly,
I'll probably make this IGNORE valid for both systems in which case
OSVERSION is completely inappropriate.

How OSVERSION is to be handled has been an ongoing discussion with
portmgr, so I'm hoping the new blood there can help come up with a
sensible policy to define when this platform-dependent variable can and
shouldn't be used.

John


More information about the svn-ports-all mailing list