Page MenuHomeFreeBSD

nvidia-drm-kmod: Update with fix for PRIME
ClosedPublic

Authored by ashafer_badland.io on Aug 24 2023, 8:16 PM.
Tags
None
Referenced Files
F102930209: D41591.diff
Mon, Nov 18, 9:32 PM
Unknown Object (File)
Thu, Nov 14, 8:56 AM
Unknown Object (File)
Thu, Nov 7, 9:41 PM
Unknown Object (File)
Tue, Nov 5, 11:12 AM
Unknown Object (File)
Oct 17 2024, 5:09 AM
Unknown Object (File)
Oct 17 2024, 4:46 AM
Unknown Object (File)
Oct 16 2024, 3:09 PM
Unknown Object (File)
Oct 16 2024, 3:09 PM

Details

Summary

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.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

graphics/nvidia-drm-kmod/Makefile.common
18

Why change this? I find ${PORTNAME}-${PORTVERSION} more clear.

Using PKGNAME lets me include the PORTREVISION in addition to the previous fields. That way it will look for tags such as nvidia-drm-515-kmod-535.98_1 instead of nvidia-drm-515-kmod-535.98. This seemed like the easiest way to do this.

Using PKGNAME lets me include the PORTREVISION in addition to the previous fields. That way it will look for tags such as nvidia-drm-515-kmod-535.98_1 instead of nvidia-drm-515-kmod-535.98. This seemed like the easiest way to do this.

Hmm, tags reflecting PORTREVISIONs is a rarity by itself, so I'm not sure what's best to do there. Don't you like explicit ${PORTNAME}-${PORTVERSION}${PORTREVISION:C/[1-9]/_&/1:C/0//} more?

haha that certainly looks a bit more complicated :)

Unless there's a good technical reason I think PKGNAME is easier for me in the future when I forget how this works and have to read it again.

haha that certainly looks a bit more complicated :)

Unless there's a good technical reason I think PKGNAME is easier for me in the future when I forget how this works and have to read it again.

Afair PORTREVISION will be included in PKGNAME, and you likely do not want that :) -- to elaborate: someone else might bump PORTREVISION due to unrelated changes, and so it should not be part of anything "static".

This revision is now accepted and ready to land.Sep 1 2023, 4:15 PM
This revision was automatically updated to reflect the committed changes.