Bug 65824 - sysutils/LPRng and sysutils/LPRngTool - add PORT_REPLACES_BASE_LPR option
Summary: sysutils/LPRng and sysutils/LPRngTool - add PORT_REPLACES_BASE_LPR option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florent Thoumie
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 21:10 UTC by Linh Pham
Modified: 2005-04-04 13:34 UTC (History)
0 users

See Also:


Attachments
sysutils-LPRng_Makefile.diff (1.79 KB, patch)
2004-04-20 21:10 UTC, Linh Pham
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Linh Pham 2004-04-20 21:10:23 UTC
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.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-05-06 11:39:15 UTC
Forward PR to maintainer for reviewing.

Regards,
   Volker
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-05-06 11:39:23 UTC
State Changed
From-To: open->feedback

Forward PR to maintainer.
Comment 3 Florent Thoumie freebsd_committer freebsd_triage 2005-04-04 13:33:44 UTC
State Changed
From-To: feedback->closed

Knob added, thanks! 


Comment 4 Florent Thoumie freebsd_committer freebsd_triage 2005-04-04 13:33:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flz

Take replies.