mail/opensmtpd: We not need to care about OpenBSD here

Make configure args for mbox path unconditional

Noted by:	mat
This commit is contained in:
Dima Panov 2020-03-31 17:44:14 +00:00
parent 2e58281789
commit b49be27ea0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529996

View File

@ -53,6 +53,7 @@ TABLE_DB_CONFIGURE_WITH= table-db
CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
--with-libevent=${LOCALBASE} \
--sysconfdir=${PREFIX}/etc/mail/ \
--with-path-mbox=/var/mail
--with-user-smtpd=_smtpd \
--with-user-queue=_smtpq \
--with-group-queue=_smtpq
@ -64,10 +65,6 @@ CONFIGURE_ARGS+= --with-libasr=${LOCALBASE} \
BROKEN= Openssl 1.0 API is EoL, upgrade to FreeBSD 12.x/13.x or add DEFAULT_VERSIONS+=ssl=[openssl|libressl*] to /etc/make.conf
.endif
.if ${OPSYS} != OpenBSD
CONFIGURE_ARGS+= --with-path-mbox=/var/mail
.endif
post-install-TABLE_DB-on:
@${LN} -sf ${PREFIX}/sbin/smtpctl ${STAGEDIR}${PREFIX}/libexec/opensmtpd/makemap