aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/maildrop/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index 8d42acf907bc..d08fc0deba14 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -80,11 +80,11 @@ post-patch:
@${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \
${WRKSRC}/maildrop/log.C
.if defined(WITH_AUTHLIB)
+ @${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
+ ${WRKSRC}/maildrop/Makefile.in
.if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep)
.include "${.CURDIR}/../../security/courier-authlib/Makefile.dep"
.endif
- ${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
- ${WRKSRC}/maildrop/Makefile.in
BUILD_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base
CONFIGURE_ARGS+= --enable-authlib