Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Nov 2022 18:57:11 GMT
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c43b10698c7c - main - devel/linux_libusb: disable date/time nonreproducible build warning
Message-ID:  <202211301857.2AUIvBTg002974@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by emaste (doc, src committer):

URL: https://cgit.FreeBSD.org/ports/commit/?id=c43b10698c7c6e2ee361632b571ac7fbf80feb84

commit c43b10698c7c6e2ee361632b571ac7fbf80feb84
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-25 19:22:54 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-11-30 18:56:31 +0000

    devel/linux_libusb: 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 a GCC that does not support -Wdate-time, so
    opt out of the warning.
    
    Reviewed by:    hselasky
    Approved by:    jrm
    PR:             267902 [exp-run]
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D37506
---
 devel/linux_libusb/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/linux_libusb/Makefile b/devel/linux_libusb/Makefile
index e1b5f1408bc5..c8b6474bfefa 100644
--- a/devel/linux_libusb/Makefile
+++ b/devel/linux_libusb/Makefile
@@ -42,6 +42,7 @@ MAKE_ENV+=	LDADD="-lrt"
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134
 MAKE_ARGS+=	NO_WERROR=yes
 .endif
+MAKE_ARGS+=	NO_WDATE_TIME=yes
 
 .if ${ARCH} == amd64
 PLIST_FILES+=	usr/lib/libusb.so.3 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211301857.2AUIvBTg002974>