Both the LPRng and the LPRngTool source tarballs support the "--mandir" configure options which are not being exploited by the respective ports. Instead, there is a messy kludge in both of the ports' Makefiles that tell the user to use --prefix and --sysconfdir, as well as create a symlink /usr/man -> /usr/share/man; or the other option includes a configure script option which breaks when trying to build the dependencies of the two ports. My suggestion is to add a PORT_REPLACES_BASE_LPR option, kind of like with dns/bind9 where all three of the configure options are automatically filled, or the user can opt not to use the "super" option and set the three options to whatever the user wants. The included fix is a kludge as I'm not too great with Makefiles and only represents the changes to sysutils/LPRng and not to sysutils/LPRngTool. Side question: why is LPRng under sysutils and not print like CUPS? I can see why LPRngTool is, but even that could be under print as well. Fix: Attempt of a fix below, though I'm not very good at messing around with Makefiles.
Forward PR to maintainer for reviewing. Regards, Volker
State Changed From-To: open->feedback Forward PR to maintainer.
State Changed From-To: feedback->closed Knob added, thanks!
Responsible Changed From-To: freebsd-ports-bugs->flz Take replies.