Not true....
Presence of
/usr/ports/graphics/drm-61-kmod/work/ directory shows that compilation did take place. However, something got borked in the toolchain, and the
.metadir.drm-61-kmod
portion failed to materialize.
This tends to happen towards the end of the compilation process. The
work/ subdirectory of the port has to contain all the stuff that got compiled - and needs to be installed with the
make install
command.
make install
wants to find the
.metadir.drm-61-kmod
portion, but cannot. That's why OP is getting the error.
I usually resolve that by just running
/usr/bin/touch /usr/ports/category/port/work/my_missing_file
, and then
make install
works without complaining.
But for this case, it's gettting
amdgpu.ko
to work, so it's kind of important to simply compile
graphics/drm-kmod straight on the system. Just run
make clean
in
/usr/ports/, this will clean out all the compilations within the ports tree, then get to
graphics/drm-kmod and compile that.