Page MenuHomeFreeBSD

framework: make pkgconfig a Feature
Changes PlannedPublic

Authored by tcberner on Sep 6 2022, 8:30 PM.
Tags
None
Referenced Files
F170748247: D36472.id110231.diff
Sun, Sep 6, 9:44 AM
Unknown Object (File)
Wed, Sep 2, 9:47 AM
Unknown Object (File)
Sun, Aug 30, 1:37 AM
Unknown Object (File)
Tue, Aug 25, 12:05 AM
Unknown Object (File)
Wed, Aug 12, 4:20 PM
Unknown Object (File)
Mon, Aug 10, 5:49 AM
Unknown Object (File)
Aug 7 2026, 3:33 PM
Unknown Object (File)
Jul 27 2026, 11:29 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.