Page MenuHomeFreeBSD

comms/mbpoll: Add missing pkgconfig dependency
ClosedPublic

Authored by olgeni on Aug 23 2026, 7:52 AM.
Tags
None
Referenced Files
F175765637: D59116.id184857.diff
Tue, Oct 13, 4:22 AM
Unknown Object (File)
Mon, Oct 12, 3:39 AM
Unknown Object (File)
Fri, Oct 9, 10:12 PM
Unknown Object (File)
Fri, Oct 9, 4:18 PM
Unknown Object (File)
Tue, Oct 6, 12:15 AM
Unknown Object (File)
Tue, Oct 6, 12:05 AM
Unknown Object (File)
Thu, Oct 1, 3:21 AM
Unknown Object (File)
Sun, Sep 27, 8:25 AM
Subscribers
None

Details

Summary

mbpoll's CMakeLists.txt calls find_package(PkgConfig) at line 59 to locate
libmodbus, but the port only declares USES=cmake, so pkgconf is not pulled in
as a build dependency. In a clean jail configure fails with:

Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  CMakeLists.txt:59 (find_package)

The port builds on developer machines only because pkgconf happens to be
installed already. Add pkgconfig to USES.

No PORTREVISION bump: the resulting package is unchanged, the port simply
did not build in a clean environment.

Test Plan

poudriere testport, 14.4 amd64, nox11 set: build succeeds, configure now
reports "Found PkgConfig: /usr/local/bin/pkgconf", check-plist clean.

portlint -AC and portclippy are clean.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable