Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2017 13:45:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217310] [patch] devel/avro-c: Incorrect 'Requires:' entry in avro-c.pc
Message-ID:  <bug-217310-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217310

            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@FreeBSD.org
          Reporter: a.shikov@itcons.net.ua
          Assignee: vg@FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(vg@FreeBSD.org)

Created attachment 180241
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D180241&action=
=3Dedit
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:' en=
try
in avro-c.pc contains "libsnappy" instead of "snappy" and it causes an erro=
r:

# pkgconf --exists --print-errors "avro-c >=3D 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217310-13>