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.
A commit references this bug:
Date: Wed Feb 28 15:13:22 UTC 2018
New revision: 463227
Fix Requires: in avro-c.pc
- Bump PORTREVISION for package change
Submitted by: Alexander Shikov <email@example.com>