[Bug 255062] graphics/libgphoto2: append ${PREFIX}/include to clfags in gphoto2-config

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Apr 14 20:15:04 BST 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255062

            Bug ID: 255062
           Summary: graphics/libgphoto2: append ${PREFIX}/include to
                    clfags in gphoto2-config
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: woodsb02 at freebsd.org
          Reporter: tcberner at freebsd.org
                CC: kde at FreeBSD.org
             Flags: maintainer-feedback?(woodsb02 at freebsd.org)
             Flags: maintainer-feedback?

Created attachment 224113
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224113&action=edit
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kde-freebsd mailing list