svn commit: r339777 - head/lang/modula3
Baptiste Daroussin
bapt at FreeBSD.org
Wed Jan 15 15:50:32 UTC 2014
On Wed, Jan 15, 2014 at 03:43:49PM +0000, Steve Wills wrote:
> On Wed, Jan 15, 2014 at 04:18:20PM +0100, Baptiste Daroussin wrote:
> > On Wed, Jan 15, 2014 at 03:17:08PM +0100, 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.
> > >
> > > --
> > > Mathieu Arnold
> >
> > It is better to test for the existence of a file as if some are creating
> > custom images they without that file it will match anyway.
> >
> > OSVERSION is a legacy from pointyhat/tinderbox time, now pointyhat is gone and
> > tinderbox knows how to check in the real destination target and not in the host,
> > lots of those OSVERSION can just die.
>
> How would this work in the case of a change to a file that already exists as
> opposed to a file existing?
Then testing the content of the file is the only safe way (that is what I do in
compiler.mk)
regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20140115/ecd1790a/attachment.sig>
More information about the svn-ports-all
mailing list