sysutils/LPRng port is marked as broken for FreeBSD > 5.01 though it can be fixed easily. Fix: The root of the problem lays in "log()" function which is present in FreeBSD > 5.0x and thus conflicts with the log() functions in packages. This can be easily adopted by patching packages to eliminate log() name. Appy patch below: Now place the following patch as files/patch-lpf.c.diff into your sysutils/LPRng port: The port will compile fine.--51WINOXaum2Umr8F9q6pnrurEkUEJAyJZdoh4giYDSqrtDMc Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile.orig Thu Dec 18 19:04:44 2003 +++ Makefile Thu Dec 18 19:04:55 2003 @@ -50,10 +50,6 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - pre-everything:: @${ECHO_MSG} "If you want to replace the default printing system with LPRng, use:" @${ECHO_MSG} " make PREFIX=/usr SYSCONFDIR=/etc clean all install" How-To-Repeat: CVSup sysutils/LPRng port on your FreeBSD 5.x box and try make. Build will be interrupted with the reason "marked as broken: does not compile".
State Changed From-To: open->closed Committed, thanks!