Robert Elz wrote: > Date: Wed, 17 Dec 2008 00:42:42 +0100 > From: Adam Hoka <adam.hoka%gmail.com@localhost> > Message-ID: <20081217004242.116ee257.adam.hoka%gmail.com@localhost> > > This particular message just recalled to mind something I had been > meaning to mention for a while, I mean no specific comment about > Adam's message (or fix) in particular ... > > | diff -u -r1.51 Makefile > | --- Makefile 4 Aug 2008 06:55:39 -0000 1.51 > | +++ Makefile 16 Dec 2008 23:41:38 -0000 > | @@ -24,7 +24,7 @@ > | > | GCC_REQD+= 3.0 > | > | -.if !empty(MACHINE_PLATFORM:MNetBSD-4*) > | +.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*) > | USE_PKGSRC_GCC=3D yes > | .endif > > This kind of thing appears quite often in pkgsrc - and while it isn't urgent > that it get fixed in a hurry, someone really should be planning the correct > invocation to handle NetBSD 10.0 and beyond (both for testing the "must have > at least" case, and the as here "want to know if >= than" case). > > Otherwise, when NetBSD 10 does appear (7-8 years ??) there will be a lot > of stuff that suddenly breaks (just like qemu's pkgsrc did here for NetBSD 5). I hope qemu wont need gcc3 in 2016. :-) The real solution for this would be a list of acceptable/unacceptable compilers, or adding GCC_MAX (but thats hackish). -- When in doubt, use brute force. Adam Hoka <ahoka%NetBSD.org@localhost> Adam Hoka <ahoka%MirBSD.de@localhost> Adam Hoka <adam.hoka%gmail.com@localhost>
Attachment:
pgpNx24sSt5As.pgp
Description: PGP signature