Created attachment 156516 [details] support 'make stage' as regular user To allow a regular user to 'make stage' in x11-drivers/drm-kmod, apply the attached patch to the port's Makefile. Otherwise, you get: ===> modules (install) ===> modules/drm2 (install) ===> modules/drm2/drm2 (install) install -o root -g wheel -m 555 drm2_port.ko /usr/ports/x11-drivers/drm-kmod/work/stage/boot/modules install: /usr/ports/x11-drivers/drm-kmod/work/stage/boot/modules/drm2_port.ko: chown/chgrp: Operation not permitted *** [_kmodinstall] Error code 71 Stop in /usr/ports/x11-drivers/drm-kmod/work/drm-9.280208/modules/drm2/drm2. *** [realinstall] Error code 1
Anyone up for committing this?
A commit references this bug: Author: kwm Date: Mon Nov 2 21:23:46 UTC 2015 New revision: 400673 URL: https://svnweb.freebsd.org/changeset/ports/400673 Log: Add USES=uidfix to allow build as a user. PR: 200055 Submitted by: John Hein <z7dr6ut7gs@snkmail.com> Changes: head/x11-drivers/drm-kmod/Makefile
Committed a beter version, thanks.
Thanks, Koop.