summaryrefslogtreecommitdiff
path: root/security/courier-authlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/courier-authlib/Makefile')
-rw-r--r--security/courier-authlib/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index 567565e795d9..f9c3dc9a3c96 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -97,6 +97,10 @@ PLIST_SUB+= MAILOWN=${MAILOWN} MAILGRP=${MAILGRP} \
SUB_LIST:= ${PLIST_SUB}
SUB_FILES+= pkg-install pkg-deinstall
+.if defined(WITH_AUTHPIPE_PROG)
+CONFIGURE_ARGS+=--with-pipeprog=${WITH_AUTHPIPE_PROG}
+.endif
+
.else
RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
CONFIGURE_ARGS+=--without-base --without-authpam
@@ -170,6 +174,12 @@ USE_RCORDER= courier-authdaemond.sh
.else
USE_RC_SUBR= courier-authdaemond.sh
.endif
+
+pre-everything::
+ @${ECHO_CMD}
+ @${ECHO_CMD} " Set WITH_AUTHPIPE_PROG to a program you want to use instead of"
+ @${ECHO_CMD} " authProg for libauthpipe"
+ @${ECHO_CMD}
.endif
post-patch: