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)
Fri, Jan 16, 2:33 PM
Unknown Object (File)
Fri, Jan 9, 12:22 AM
Unknown Object (File)
Thu, Jan 8, 3:09 AM
Unknown Object (File)
Wed, Jan 7, 4:28 PM
Unknown Object (File)
Tue, Jan 6, 12:08 PM
Unknown Object (File)
Dec 12 2025, 12:58 PM
Unknown Object (File)
Nov 28 2025, 9:01 PM
Unknown Object (File)
Nov 27 2025, 1:51 PM
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.