Bug 197357 - print/cups-base (with PAM enabled) post-configure Makedefs patch may break PAMDIR.
Summary: print/cups-base (with PAM enabled) post-configure Makedefs patch may break PA...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on: 207746
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-06 01:44 UTC by Adrian Waters
Modified: 2016-03-11 14:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Waters 2015-02-06 01:44:46 UTC
Commit 373559 to fix PR 194854 (package build fails if PAM enabled on systems that don't have /usr/local/etc/pam.d directory) has a post-configure patch to ${WRKSRC}/Makedefs that assumes that /usr/local/etc/pam.d does not exist.

For systems that do have this directory, the configure script correctly sets PAMDIR to /usr/local/etc/pam.d, but the post-configure patch prepends $LOCALBASE to this with the result that PAMDIR is incorrectly set to /usr/local/usr/local/etc/pam.d, which leads to failure to correctly stage the pam.d/cups.sample file.
Comment 1 Tijl Coosemans freebsd_committer freebsd_triage 2016-03-11 14:22:58 UTC
Fixed in ports r410825.