From owner-freebsd-sparc64@FreeBSD.ORG Wed Feb 25 22:27:09 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B33A16A4CE for ; Wed, 25 Feb 2004 22:27:09 -0800 (PST) Received: from smtp4.server.rpi.edu (smtp4.server.rpi.edu [128.113.2.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E958E43D1D for ; Wed, 25 Feb 2004 22:27:08 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp4.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i1Q6R8HQ002475; Thu, 26 Feb 2004 01:27:08 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040226051055.GA85017@xor.obsecurity.org> References: <20040226051055.GA85017@xor.obsecurity.org> Date: Thu, 26 Feb 2004 01:27:07 -0500 To: John Polstra From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-sparc64@freebsd.org cc: Kris Kennaway Subject: Re: 64btt cvsup? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 06:27:09 -0000 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