Date: Mon, 13 Feb 2023 14:20:35 GMT From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ce282f9818c3 - main - mail/nbsmtp: Does not build with clang 15 Message-ID: <202302131420.31DEKZMF076523@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce282f9818c344616ad9e3df29d01dab55acf8b2 commit ce282f9818c344616ad9e3df29d01dab55acf8b2 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2023-02-13 14:20:22 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2023-02-13 14:20:28 +0000 mail/nbsmtp: Does not build with clang 15 Notified by: pkg-fallout --- mail/nbsmtp/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mail/nbsmtp/Makefile b/mail/nbsmtp/Makefile index bb0d9eef1b32..70165603c63a 100644 --- a/mail/nbsmtp/Makefile +++ b/mail/nbsmtp/Makefile @@ -18,6 +18,12 @@ LDFLAGS+= -L${OPENSSLLIB} PLIST_FILES= bin/nbsmtp man/man5/nbsmtprc.5.gz man/man8/nbsmtp.8.gz +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +USE_GCC= yes +.endif + post-patch: ${REINPLACE_CMD} -e 's@\(-o nbsmtp\)@$$(LDFLAGS) \1@g' \ ${WRKSRC}/Makefile.in @@ -27,4 +33,4 @@ do-install: ${INSTALL_MAN} ${WRKSRC}/nbsmtprc.5 ${STAGEDIR}${MANPREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/nbsmtp.8 ${STAGEDIR}${MANPREFIX}/man/man8 -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302131420.31DEKZMF076523>