Bug 273261

Summary: graphics/nvidia-drm-510-kmod, graphics/nvidia-drm-515-kmod: Makefile: CONFLICTS_INSTALL
Product: Ports & Packages Reporter: Graham Perrin <grahamperrin>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Many People CC: arrowd, ashafer
Priority: --- Flags: bugzilla: maintainer-feedback? (ashafer)
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://www.freshports.org/graphics/nvidia-drm-kmod/

Description Graham Perrin 2023-08-21 12:15:49 UTC
Re: <https://github.com/freebsd/freebsd-ports/commit/4754e9fd33c4fae0359a272d72d9aa7fe75c7a82#diff-88e498485e045af8ef7022b424bc783ca94a1b22188de29d315eca684c2e5d79R18-R19> (lines 18–19) for meta port graphics/nvidia-drm-kmod


You might want to add a CONFLICTS_INSTALL line to the Makefile for these two: 

- nvidia-drm-510-kmod
- nvidia-drm-515-kmod

Thanks.

----

I make this assumption based on past changes, not NVIDIA-specific, such as: 

<https://github.com/freebsd/freebsd-ports/commit/e86cd62dba7ae097b9c07edc4b0774bf768f6d07?diff=split#diff-3fcb57d0457b20a555b9c0793151e547561c8def0092164c3c5a22030f127c88R16>

Related FreshPorts URLs (for comparison purposes): 

- <https://www.freshports.org/graphics/drm-510-kmod/#conflicts>
- <https://www.freshports.org/graphics/drm-515-kmod/#conflicts>
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-09-01 16:17:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd3d40263140265bb9ac5c855230fcde9f628c3e

commit dd3d40263140265bb9ac5c855230fcde9f628c3e
Author:     Austin Shafer <ashafer@badland.io>
AuthorDate: 2023-09-01 15:56:13 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-09-01 16:16:56 +0000

    nvidia-drm-kmod: Update with fix for PRIME

    This updates the nvidia-drm ports to contain the fix for
    https://github.com/amshafer/nvidia-driver/issues/20

    Also updates the port Makefiles to use CONFLICTS_INSTALL to resolve
    PR 273261, and adds PORTREVISION to the github tag referenced.

    Differential Revision: https://reviews.freebsd.org/D41591

    PR:             273261
    Tested by:      arrowd

 graphics/nvidia-drm-510-kmod/Makefile    | 2 ++
 graphics/nvidia-drm-510-kmod/distinfo    | 6 +++---
 graphics/nvidia-drm-515-kmod/Makefile    | 2 ++
 graphics/nvidia-drm-515-kmod/distinfo    | 6 +++---
 graphics/nvidia-drm-kmod/Makefile.common | 2 +-
 5 files changed, 11 insertions(+), 7 deletions(-)
Comment 2 Graham Perrin 2023-09-02 04:22:55 UTC
Thanks! 

This helps to keep things fairly simple in e.g. the wiki. 

<https://wiki.freebsd.org/action/info/Graphics?action=diff&rev2=114&rev1=113>