[Bug 237927] graphics/drm-current-kmod: transforms in master port, prepares slave ports, brings options for installing specific drivers
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu May 16 14:18:02 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237927
Bug ID: 237927
Summary: graphics/drm-current-kmod: transforms in master port,
prepares slave ports, brings options for installing
specific drivers
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jmd at freebsd.org
Reporter: phascolarctos at protonmail.ch
CC: jmd at freebsd.org
Assignee: jmd at freebsd.org
Flags: maintainer-feedback?(jmd at freebsd.org)
Attachment #204402 maintainer-approval?(jmd at freebsd.org)
Flags:
CC: jmd at freebsd.org
Created attachment 204402
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204402&action=edit
drm-kmod - introduces master/slave ports, driver specific options
I initially just wanted to add options to the drm-*-kmod ports to build and
install only desired drivers (if I have an intel graphic card, I do not need
radeon driver). However, seeing that there are four different ports to maintain
singularly -- i.e. in this case four different ports needing to be updated with
the new options -- I also transformed drm-current-kmod in a master port and
drm-fbsd11.2-kmod, drm-fbsd12.0-kmod, drm-legacy-kmod into slave ports.
It was a complex work. Here is a summary of the changes:
- drm-current-kmod is now a master port and drm-fbsd12.0-kmod,
drm-fbsd11.2-kmod, drm-legacy-kmod are now slave ports. This required the
following changes:
* evey drm-<version>-kmod has been renamed into drm-kmod-<version>, so that
different package names can be easily managed using PKGNAMESUFFIX;
* a variable MINOSVERSION has been introduced that must be defined for
every drm-kmod-* port that tells make what is the minimal FreeBSD version
required to build and install the port;
- new options AMD, I915, RADEON and VMWGFX, enabled by default: install a
driver if and only if the corresponding option is on.
I tested successfully with poudriere on {11.2,12.0}-RELEASE {i386, amd64}. Of
course, there are plenty of different cases to test, so I encourage testing
again if possible.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list