[Bug 217310] [patch] devel/avro-c: Incorrect 'Requires:' entry in avro-c.pc
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 23 13:45:51 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217310
Bug ID: 217310
Summary: [patch] devel/avro-c: Incorrect 'Requires:' entry in
avro-c.pc
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: vg at FreeBSD.org
Reporter: a.shikov at itcons.net.ua
Assignee: vg at FreeBSD.org
Keywords: patch
Flags: maintainer-feedback?(vg at FreeBSD.org)
Created attachment 180241
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180241&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list