[Bug 276727] graphics/drm-kmod: needs a value for _DRM_ARCHS in case of ${OSVERSION} >= 1400097 && ${OSVERSION} < 1500008

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Jan 2024 09:20:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276727

            Bug ID: 276727
           Summary: graphics/drm-kmod: needs a value for _DRM_ARCHS in
                    case of ${OSVERSION} >= 1400097 && ${OSVERSION} <
                    1500008
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Created attachment 248077
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248077&action=edit
Patch for graphics/drm-kmod/Makefile

A value for _DRM_ARCHS is missing in the case of ${OSVERSION} >= 1400097 &&
${OSVERSION} < 1500008, leading to error messages like this one on stable/14:

make: "/usr/ports/graphics/drm-kmod/Makefile" line 34: Malformed conditional (!
${_DRM_ARCHS:M${ARCH}})
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/graphics/drm-kmod

-- 
You are receiving this mail because:
You are the assignee for the bug.