[Bug 274766] graphics/nvidia-drm-kmod: Use PORTNAME + PORTVERSION instead of PKGNAME when retrieving sources

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Oct 2023 08:45:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274766

            Bug ID: 274766
           Summary: graphics/nvidia-drm-kmod: Use  PORTNAME + PORTVERSION
                    instead of PKGNAME when retrieving sources
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: trueos@norwegianrockcat.com
                CC: ashafer@badland.io
             Flags: maintainer-feedback?(ashafer@badland.io)
                CC: ashafer@badland.io

Created attachment 245935
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245935&action=edit
Patch for nvidia-drm's Makefile Common

For nvidia-drm-515-kmod on FreeBSD 14.0-RC3, the package fails to build because
there was a portrevision done to the port which causes the build to fail in
fetching the sources. The problem is that it is suddenly looking for
amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_1_GH0 instead
of amshafer-nvidia-driver-535.104.05-nvidia-drm-515-kmod-535.104.05_GH0.

Changing to using PORTNAME + PORTVERSION seems to do the right thing. I only
tested this with nvidia-drm-515-kmod. I don't know if this breaks
nvidia-drm-510-kmod, but should work too (probably should be tested).

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