diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-02-18 07:00:44 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-02-18 07:00:44 +0000 |
commit | e7f6fe40142952b26a5189e5a434df57b36cf87c (patch) | |
tree | 53725eba82c47183990cee4ad17b45db84a1e347 /mail/maildrop | |
parent | a31a4c19a211398527006c69a198e0d69c87cc3d (diff) | |
download | ports-e7f6fe40142952b26a5189e5a434df57b36cf87c.tar.gz ports-e7f6fe40142952b26a5189e5a434df57b36cf87c.zip |
Notes
Diffstat (limited to 'mail/maildrop')
-rw-r--r-- | mail/maildrop/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile index af4f78b0d380..f36d358f1c88 100644 --- a/mail/maildrop/Makefile +++ b/mail/maildrop/Makefile @@ -15,6 +15,7 @@ # MAILDROP_TRUSTED_USERS=<user> Specify users allowed to use the -d option # NO_MAILWRAPPER=yes If defined, let configure guess which sendmail binary # to use +# MAILDROP_LOG_COLUMNS lenght of 'File:' line in log - 8; default: 72 PORTNAME= maildrop PORTVERSION= 2.0.4 @@ -38,6 +39,8 @@ LDFLAGS+= -L${LOCALBASE}/lib LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre +MAILDROP_LOG_COLUMNS?= 72 # lenght of 'File:' line in log + .if defined(WITH_AUTHLIB) .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.opt) .include "${.CURDIR}/../../security/courier-authlib/Makefile.opt" @@ -73,18 +76,19 @@ USE_FAM= yes CONFIGURE_ARGS+= --enable-trusted-users="${MAILDROP_TRUSTED_USERS}" .endif +post-patch: + @${REINPLACE_CMD} -e "s/l= 72 - szbuf.Length();/l= ${MAILDROP_LOG_COLUMNS} - szbuf.Length();/" \ + ${WRKSRC}/maildrop/log.C .if defined(WITH_AUTHLIB) .if exists(${.CURDIR}/../../security/courier-authlib/Makefile.dep) .include "${.CURDIR}/../../security/courier-authlib/Makefile.dep" .endif -BUILD_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base -RUN_DEPENDS+= courierauthconfig:${PORTSDIR}/security/courier-authlib-base -CONFIGURE_ARGS+= --enable-authlib - -post-patch: @${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 .else CONFIGURE_ARGS+= --disable-authlib .endif |