[Bug 256138] graphics/mesa-dri: attempt to fix build on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 May 2021 01:57:52 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256138

            Bug ID: 256138
           Summary: graphics/mesa-dri: attempt to fix build on riscv64
           Product: Ports & Packages
           Version: Latest
          Hardware: riscv
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11_at_FreeBSD.org
          Reporter: linimon_at_FreeBSD.org
                CC: riscv_at_FreeBSD.org
                CC: riscv_at_FreeBSD.org
          Assignee: x11_at_FreeBSD.org
             Flags: maintainer-feedback?(x11_at_FreeBSD.org)

Created attachment 225241
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225241&action=edit
patch to graphics/mesa-dri/Makefile

mesa-dri fails on attempts to build (via qemu):

  pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/include/GL/internal/dri_interface.h:No
such file or directory
  pkg-static: Unable to access file
/wrkdirs/usr/ports/graphics/mesa-dri/work/stage/usr/local/libdata/pkgconfig/dri.pc:No
such file or directory

This is due to the fact that there is no stanza including riscv64 in the
Makefile.  Thus, add one.

Note: the hardware I have is not yet ready for graphics testing, so this is
_only_ a compile-time fix so that I can test-build dependent ports.  However,
it should be harmless.

Unless there are objections, I intend to commit this in two weeks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Tue May 25 2021 - 01:57:52 UTC

Original text of this message