Bug 255062 - graphics/libgphoto2: append ${PREFIX}/include to clfags in gphoto2-config
Summary: graphics/libgphoto2: append ${PREFIX}/include to clfags in gphoto2-config
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ben Woods
Depends on:
Reported: 2021-04-14 19:15 UTC by Tobias C. Berner
Modified: 2021-04-14 19:15 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (woodsb02)
tcberner: maintainer-feedback?

v1 (1.78 KB, patch)
2021-04-14 19:15 UTC, Tobias C. Berner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias C. Berner freebsd_committer 2021-04-14 19:15:04 UTC
Created attachment 224113 [details]

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

            > gphoto2-config  --cflags

    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

[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