Created attachment 224113 [details] v1 Moin moin KDE's CI noticed [1] an issue in the shipped gphoto2-config tool of this port. At the moment: > pkgconf --cflags libgphoto2 -I/usr/local/include/gphoto2 -I/usr/local/include Whereas > gphoto2-config --cflags -I/usr/local/include/gphoto2 This means that software using gphoto2 via the shipped gphoto2-config tool will also require USES=localbase (see graphics/kamera). The patch attached appends ${PREFIFX}/include to the config tool, making it also output > gphotot2-config --cflags -I/usr/local/include/gphoto2-I/usr/local/include [probably should be tested against all dependencies though :)]. mfg Tobias [1] https://build.kde.org/view/Failing/job/Applications/job/kamera/job/stable-kf5-qt5%20FreeBSDQt5.15/23/console
Sorry, due to a lack of time I have reset the maintainer of this port back to ports@FreeBSD.org. Hopefully someone else is able to step in to help. Resetting the assignee of this bug accordingly.
(In reply to Tobias C. Berner from comment #0) > The patch attached appends ${PREFIFX}/include to the config tool I'm actually not sure why -I/usr/local/include/gphoto2 needs to be returned at all, as all libgphoto2 consumers I've encountered include its header files relative to ${PREFIX}/include. I've filed an issue upstream.