git: b780076d6947 - main - mail/milter-skem: disable date/time nonreproducible build warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Nov 2022 18:57:12 UTC
The branch main has been updated by emaste (doc, src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=b780076d6947fef9ca36a5b09755fecfbb0805ac
commit b780076d6947fef9ca36a5b09755fecfbb0805ac
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-25 19:26:29 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-11-30 18:56:32 +0000
mail/milter-skem: disable date/time nonreproducible build warning
The base system build infrastructure will add -Wdate-time, to avoid
use of nonreproducible __DATE__ and __TIME__ in the base system.
This port makes use of the base system build infrastructure as well as
__DATE__ and/or __TIME__, so explicitly opt out of the warning.
PR: 267902 [exp-run]
Approved by: mi
Sponsored By: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37507
---
mail/milter-skem/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/mail/milter-skem/Makefile b/mail/milter-skem/Makefile
index 97660940b0fc..d46ee414b851 100644
--- a/mail/milter-skem/Makefile
+++ b/mail/milter-skem/Makefile
@@ -34,6 +34,7 @@ NO_WRKSUBDIR= yes
MAKE_ARGS+= -D$o
. endif
.endfor
+MAKE_ARGS+= NO_WDATE_TIME=yes
post-patch:
@${REINPLACE_CMD} -E 's/char[[:blank:]]+c;/int c;/' ${WRKSRC}/milter.c