Page MenuHomeFreeBSD

framework: make pkgconfig a Feature
Changes PlannedPublic

Authored by tcberner on Sep 6 2022, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 9:29 AM
Unknown Object (File)
Sun, Oct 5, 1:40 PM
Unknown Object (File)
Sun, Oct 5, 1:12 PM
Unknown Object (File)
Sun, Oct 5, 11:00 AM
Unknown Object (File)
Sun, Oct 5, 6:38 AM
Unknown Object (File)
Sun, Oct 5, 4:48 AM
Unknown Object (File)
Thu, Sep 18, 10:04 AM
Unknown Object (File)
Aug 20 2025, 11:28 AM
Subscribers

Details

Reviewers
bapt
mat
rene
Group Reviewers
portmgr
Summary

pkgconfig is the defacto standard to find components. Instead of
opting-in to depending on pkgconfig via USES=pkgconfig, this switches
the behaviour to be opt-out.

If a port does not want pkgconfig, it now needs to define
WITHOUT_PKGCONFIG=yes

Test Plan

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 47277
Build 44164: arc lint + arc unit

Event Timeline

Mk/Features/pkgconfig.mk
11

^ check probably should be on !empty()?

  • remove the pkgconfig removal from the other ports to make it easier to look at
rene added a subscriber: rene.
rene added inline comments.
Mk/Uses/qt-dist.mk
156

Why was qmake excluded, for efficiency?

This revision is now accepted and ready to land.Sep 7 2022, 9:30 AM
Mk/Uses/qt-dist.mk
156

I think that information is lot to time :) -- I have no clue why it was done that way (if there was a good reason, the exp-run should hopefully show it).

As discussed with @bapt, I'll try to look into an other way to make pc-support better.