From owner-freebsd-ports Tue Aug 24 16:51:36 1999 Delivered-To: freebsd-ports@freebsd.org Received: from xerxes.lovett.com (xerxes.lovett.com [216.60.121.164]) by hub.freebsd.org (Postfix) with ESMTP id E892F151AA; Tue, 24 Aug 1999 16:51:33 -0700 (PDT) (envelope-from ade@lovett.com) Received: from ade by xerxes.lovett.com with local (Exim 3.03 #1) id 11JPo9-0005XM-00; Tue, 24 Aug 1999 18:16:49 -0500 Date: Tue, 24 Aug 1999 18:16:49 -0500 From: Ade Lovett To: Satoshi - Ports Wraith - Asami Cc: obrien@freebsd.org, ports@freebsd.org Subject: Re: ports/13166: textproc/aspell uses ${OSREL} Message-ID: <19990824181649.B94596@supernews.com> References: <199908231440.HAA68205@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Aug 24, 1999 at 02:28:51AM -0700, Satoshi - Ports Wraith - Asami wrote: > > As far as I understand (the commit mails are missing), gcc-2.95 is > just about to enter 4-current (the old contrib/gcc dir has been > resurrected but the actual upgrade hasn't been made yet). Just a thought -- how about slightly altering the USE_NEWGCC macro as follows: .if defined(USE_NEWGCC) USE_NEWGCC_OSVERSION?= 400004 .if ${OSVERSION} < ${USE_NEWGCC_OSVERSION} CC= gcc295 CXX= g++295 BUILD_DEPENDS+= gcc295:${PORTSDIR}/lang/egcs .endif .endif For the 99% of ports that have already been changed to use USE_NEWGCC, nothing needs to happen, but for things like textproc/aspell, we can do: USE_NEWGCC=YES USE_NEWGCC_OSVERSION= It gives us a little more flexibility for ports when we see another case of both the 3.x and 4.x system compilers being inadequate for compiling a port? Thoughts? Shoot me down if it's over-complex/unnecessary. I can take it :) -aDe -- Ade Lovett, Austin, TX. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message