Page MenuHomeFreeBSD

comms/mbpoll: Add missing pkgconfig dependency
ClosedPublic

Authored by olgeni on Sun, Aug 23, 7:52 AM.
Tags
None
Referenced Files
F170563950: D59116.id184767.diff
Sat, Sep 5, 10:37 AM
F170560842: D59116.id184857.diff
Sat, Sep 5, 10:15 AM
F170558188: D59116.id.diff
Sat, Sep 5, 9:58 AM
F170535296: D59116.diff
Sat, Sep 5, 7:14 AM
F170528980: D59116.id184767.diff
Sat, Sep 5, 6:25 AM
F170510269: D59116.id184767.diff
Sat, Sep 5, 4:09 AM
F170509412: D59116.id184767.diff
Sat, Sep 5, 4:04 AM
F170499538: D59116.id184857.diff
Sat, Sep 5, 3:01 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