Page MenuHomeFreeBSD

comms/mbpoll: Add missing pkgconfig dependency
ClosedPublic

Authored by olgeni on Sun, Aug 23, 7:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 25, 3:33 PM
Unknown Object (File)
Tue, Aug 25, 3:22 PM
Unknown Object (File)
Tue, Aug 25, 2:31 PM
Unknown Object (File)
Tue, Aug 25, 3:55 AM
Unknown Object (File)
Mon, Aug 24, 2:45 AM
Unknown Object (File)
Mon, Aug 24, 2:45 AM
Unknown Object (File)
Mon, Aug 24, 12:12 AM
Unknown Object (File)
Mon, Aug 24, 12:11 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