Jeff Rizzo <riz%NetBSD.org@localhost> writes: > On 11/15/14 12:10 AM, Jonathan Perkin wrote: >> * On 2014-11-15 at 00:06 GMT, Jeff Rizzo wrote: >> >>> Module Name: pkgsrc >>> Committed By: riz >>> Date: Sat Nov 15 00:04:34 UTC 2014 >>> >>> Modified Files: >>> pkgsrc/lang/clang: Makefile >>> >>> Log Message: >>> This builds with gcc 4.8 too, don't make me build 4.7. >> This isn't really a good way of doing this, you've now forced everyone >> who is on 4.7 to have to build 4.8 for this package, as GCC_REQD takes >> the highest revision. >> >> A better way to solve this would have been for you to add >> GCC_REQD+=4.8 to your mk.conf. >> > > Sorry about that; feel free to revert. OTOH, that's not a great > implementation if it's not indicating "you need one of these > revisions". We have been discussing how to fix the GCC_REQD situation. I can't find the link, but the basic notion is to let packages express which versions they work with and the user which they prefer, in order. We definitely are not there yet. In the meantime, it seems the norm is to list the lowest version that works in the package, and people with newish versions can prefer native. This is unsatisfying not only because you have to do a kludge, but because something building with 4.7 does not imply that it builds with 4.8.
Attachment:
pgpglCEPGFPnf.pgp
Description: PGP signature