aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r--print/cups-base/Makefile5
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