Date: Wed, 15 Jan 2014 15:24:49 +0100 From: John Marino <freebsd.contact@marino.st> To: Mathieu Arnold <mat@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r339777 - head/lang/modula3 Message-ID: <52D69A31.9070801@marino.st> In-Reply-To: <998760DE607B43BBDEA3C8AE@ogg.in.absolight.net> References: <201401151341.s0FDfQ1M053094@svn.freebsd.org> <998760DE607B43BBDEA3C8AE@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/15/2014 15:17, Mathieu Arnold wrote: > +--On 15 janvier 2014 13:41:26 +0000 John Marino <marino@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D69A31.9070801>