From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 193FD158091 for ; Tue, 31 May 2022 01:42:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C986E091C; Tue, 31 May 2022 01:42:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1E108E091C for ; Tue, 31 May 2022 01:42:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D42FE341A2B for ; Tue, 31 May 2022 01:42:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7820D3 for ; Tue, 31 May 2022 01:42:10 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1653961328.cbb67e0be81716c147d845cec44e59be689b2ac2.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/syslinux/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/syslinux/syslinux-6.04_pre3.ebuild X-VCS-Directories: sys-boot/syslinux/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: cbb67e0be81716c147d845cec44e59be689b2ac2 X-VCS-Branch: master Date: Tue, 31 May 2022 01:42:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d3f93e4a-a1c6-49a3-91a0-dbf7b536f8b4 X-Archives-Hash: 55d84c8b8f0498a504945dc15ef34ca6 commit: cbb67e0be81716c147d845cec44e59be689b2ac2 Author: Mike Gilbert gentoo org> AuthorDate: Tue May 31 01:30:30 2022 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Tue May 31 01:42:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb67e0b sys-boot/syslinux: set DATE and HEXDATE Signed-off-by: Mike Gilbert gentoo.org> sys-boot/syslinux/syslinux-6.04_pre3.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sys-boot/syslinux/syslinux-6.04_pre3.ebuild b/sys-boot/syslinux/syslinux-6.04_pre3.ebuild index 67929943e8d1..bf2d6923e02e 100644 --- a/sys-boot/syslinux/syslinux-6.04_pre3.ebuild +++ b/sys-boot/syslinux/syslinux-6.04_pre3.ebuild @@ -64,17 +64,21 @@ efimake() { } src_compile() { + local DATE=$(date -u -r NEWS +%Y%m%d) + local HEXDATE=$(printf '0x%08x' "${DATE}") + tc-export AR CC LD OBJCOPY RANLIB unset LDFLAGS + if use bios; then - emake bios + emake bios DATE="${DATE}" HEXDATE="${HEXDATE}" fi if use efi; then if use abi_x86_32; then - efimake x86 efi32 + efimake x86 efi32 DATE="${DATE}" HEXDATE="${HEXDATE}" fi if use abi_x86_64; then - efimake amd64 efi64 + efimake amd64 efi64 DATE="${DATE}" HEXDATE="${HEXDATE}" fi fi }