On Sat, Oct 19, 2002 at 11:57:37PM +0200, Clement Laforet wrote:
> On Sat, 19 Oct 2002 13:58:48 -0700
> Kris Kennaway <[EMAIL PROTECTED]> wrote:
>
> > Sorry, my statement wasn't clear. I'll be doing something of the form
> >
> > .if ${OSVERSION} > 500000
> > BROKEN= "Does not compile on FreeBSD 5.x"
> > .endif
> >
> > This will not affect users of 4.x
> >
>
> Is there a "correct" way to name patches dedicated to 5.x ?The patches should be applied in all cases (i.e. 4.x as well); if the patch contains code that should not be compiled in the 4.x case then compile it conditionally using something like: #if defined(__FreeBSD__) && (__FreeBSD_version >= 5000xx) ... #endif See the porter's handbook for more information about this. Kris
msg44945/pgp00000.pgp
Description: PGP signature
