Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 01:27:07 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        John Polstra <jdp@polstra.com>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: 64btt cvsup?
Message-ID:  <p0602048bbc6340543ef2@[128.113.24.47]>
In-Reply-To: <20040226051055.GA85017@xor.obsecurity.org>
References:  <XFMail.20040224164527.jdp@polstra.com> <p06020489bc632640222e@[128.113.24.47]> <20040226051055.GA85017@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 9:10 PM -0800 2/25/04, Kris Kennaway wrote:
>
>>  >Figure out the ports-Makefile-fu to make the new patches get
>>  >applied only if the system has a recent enough __FreeBSD_version.
>>  >That ought to do it.
>>
>>  I have no idea what ports-makefile-fu would be needed, but we
>>  haven't picked the value of __FreeBSD_version for this change yet,
>>  so I have the excuse that we couldn't really do this yet anyway.
>
>Ports don't usually apply patches conditionally on the version.
>Instead, wherever possible the patch itself should contain the
>conditionals, i.e.
>
>#if __FreeBSD_version >= 50210x
>...
>#endif

Hmm.  But this is to Modula-3 source, so how do I do that?

John?  Looks like it might have something to do with the file
language/modula3/m3compiler/m3cc/gcc/gcc/config/freebsd-spec.h

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0602048bbc6340543ef2>