Created attachment 180241 [details] Patch to fix libsnappy dependency in avro-c.pc devel/avro-c port requires archivers/snappy. archivers/snappy install pkgconf data in file snappy.pc, but 'Requires:' entry in avro-c.pc contains "libsnappy" instead of "snappy" and it causes an error: # pkgconf --exists --print-errors "avro-c >= 1.8" Package libsnappy was not found in the pkg-config search path. Perhaps you should add the directory containing `libsnappy.pc' to the PKG_CONFIG_PATH environment variable Package 'libsnappy', required by 'avro-c', not found Possible fix is to edit lang/c/CMakeLists.txt in devel/avro-c, and replace 'set(SNAPPY_PKG libsnappy)' line with 'set(SNAPPY_PKG snappy)'. Patch is attached.
Feedback please!
Maintainer reset.
A commit references this bug: Author: sunpoet Date: Wed Feb 28 15:13:22 UTC 2018 New revision: 463227 URL: https://svnweb.freebsd.org/changeset/ports/463227 Log: Fix Requires: in avro-c.pc - Bump PORTREVISION for package change PR: 217310 Submitted by: Alexander Shikov <a.shikov@itcons.net.ua> Changes: head/devel/avro-c/Makefile
Committed. Thanks!