diff options
author | dinoex <dinoex@FreeBSD.org> | 2008-03-04 20:00:15 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2008-03-04 20:00:15 +0800 |
commit | 38c32b119aefacf72739317b7153341d18bc2d7b (patch) | |
tree | 903aa01058f3856286bc2898953ce44c887abe18 /print/cups-base/Makefile | |
parent | aea6a4424dba7f89135b0973efe610da49b8985a (diff) | |
download | freebsd-ports-gnome-38c32b119aefacf72739317b7153341d18bc2d7b.tar.gz freebsd-ports-gnome-38c32b119aefacf72739317b7153341d18bc2d7b.tar.zst freebsd-ports-gnome-38c32b119aefacf72739317b7153341d18bc2d7b.zip |
- Fix crash in case of incorrectly configured PAM
PR: 121105
Submitted by: Alexander V. Chernikov
Obtained from: http://cups.org/str.php?L2734
- Fix /usr/local/etc/pam.d/cups
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r-- | print/cups-base/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 071f7b979a4f..e91ccf33f3b7 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -172,6 +172,11 @@ pre-configure:: @${ECHO_MSG} Configuring CUPS with options: @${ECHO_MSG} ${CONFIGURE_ARGS} | fmt +.if defined(WITH_PAM) +post-configure: + ${GREP} -v pam_securityserver ${WRKSRC}/conf/pam.darwin > ${WRKSRC}/conf/pam.std +.endif + post-patch: @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in @${REINPLACE_CMD} -e '/share/s|/usr/share|${PREFIX}/share|g' ${WRKSRC}/Makefile |