[Bug 267020] benchmarks/uica: fix build on riscv and in time zones west of Greenwich

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 13 Oct 2022 15:09:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267020

            Bug ID: 267020
           Summary: benchmarks/uica: fix build on riscv and in time zones
                    west of Greenwich
           Product: Ports & Packages
           Version: Latest
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: riscv@FreeBSD.org
 Attachment #237266 maintainer-approval+
             Flags:
                CC: riscv@FreeBSD.org
             Flags: merge-quarterly?

Created attachment 237266
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237266&action=edit
benchmarks/uica: fix build on riscv and in time zones west of Greenwich

- inform mbuild CPU type detection script about the
   existence of this newfangled architecture.
 - pass TZ=UTC to date(1) while generating distfile name
   to avoid off by one error on the first day of the month
   in time zones west of Greenwich.

Tested with Poudriere on riscv armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

-- 
You are receiving this mail because:
You are on the CC list for the bug.