summaryrefslogtreecommitdiff
path: root/security/courier-authlib
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-02-11 11:37:46 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-02-11 11:37:46 +0000
commit58bbd4e857bdbe7f5ae0974f723f38237928b3c0 (patch)
treefca1c874292a65aabf6866db05aac3fba4fdeeb8 /security/courier-authlib
parentfix compilation if libevent is installed (diff)
make it possible to change the program which is used for authpipe
PR: ports/92681 Submitted by: Henry Karpatskij <henkka@spheroid.info>
Diffstat (limited to 'security/courier-authlib')
-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: