Created attachment 208289 [details] patch This files need to able to build various addons. multimedia/kodi install it, but multimedia/kodi-devel does not.
MFH Candidate: Make consistent with multimedia/kodi and addons builds/usage
> multimedia/kodi install it, but multimedia/kodi-devel does not. It clearly does install them because your patch just moves them from share/kodi/cmake to lib/kodi. This should not be needed at all. Changing +BUILD_DEPENDS= ${LOCALBASE}/lib/kodi/KodiConfig.cmake:multimedia/kodi-devel into +BUILD_DEPENDS= ${LOCALBASE}/share/kodi/cmake/KodiConfig.cmake:multimedia/kodi-devel in peripheral.joystick makes it build as is.
Yes, you are right. But I install kodi-devel and does not see any /usr/local/share/kodi/cmake/ folder, then I look into pkg-plist and see no .cmake files, that is why I add it. Now I remove /usr/local/share/kodi/cmake/ and reinstall kodi-devel and get .cmake files. It is very strange: how files that are not in plist get here? Probably kodi-devel pkg-plist should be updated?
kodi-devel auto adds everything in share/kodi to the plist via PORTDATA=*.