Bug 216577

Summary: devel/pkgconf: install libpkgconf.pc to libdata instead of lib
Product: Ports & Packages Reporter: John Hein <jcfyecrayz>
Component: Individual Port(s)Assignee: Baptiste Daroussin <bapt>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (bapt)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
[patch] install .pc file to libdata/pkgconfig none

Description John Hein 2017-01-29 17:09:13 UTC
Created attachment 179402 [details]
[patch] install .pc file to libdata/pkgconfig

libpkgconf.pc is currently installed to lib/pkgconfig, resulting in:

% pkgconf --libs libpkgconf                                                                                                    Package libpkgconf was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpkgconf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpkgconf', required by 'virtual:world', not found

The attached patch puts libpkgconf.pc into the normal freebsd pkgconf search path (libdata/pkgconfig).
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-01-29 17:12:21 UTC
A commit references this bug:

Author: bapt
Date: Sun Jan 29 17:11:59 UTC 2017
New revision: 432786
URL: https://svnweb.freebsd.org/changeset/ports/432786

Log:
  Install the .pc file in the right place

  PR:		216577
  Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>

Changes:
  head/devel/pkgconf/Makefile
  head/devel/pkgconf/pkg-plist
Comment 2 Baptiste Daroussin freebsd_committer freebsd_triage 2017-01-29 17:12:45 UTC
Thank note that I have use USES=pathfix instead of a custom patch