Recent bento build logs reflect the fact that many ports were broken by the gcc3.3 import. In many of these, myself and others have added a conditional evaluation of BROKEN, using OSVERSION as a proxy for "when GCCx.y was imported". However, few people remember to look up the exact version, and in general just use 501000. The following patch removes the need to use a proxy, and in addition gets the answer exactly right. Thus, port Makefiles can be changed from the following: .if ${OSVERSION} >= 501000 BROKEN= "will not compile on FreeBSD version ${OSVERSION} .endif to .if ${GCCVERSION} >= 303000 BROKEN= "will not compile using gcc version ${GCCVERSION} .endif How-To-Repeat: (n/a)
Responsible Changed From-To: freebsd-ports-bugs->portmgr It deals with bsd.port.mk, so it must be a portmgr deal.
State Changed From-To: open->analyzed This is currently being tested on bento.
State Changed From-To: analyzed->closed Committed, thanks!
State Changed From-To: analyzed->closed Fixed with the comment made in the follow-up. Thanks for reporting.
State Changed From-To: analyzed->closed Committed with the additional check of INSTALL_AS_USER. Thanks!