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).
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
Thank note that I have use USES=pathfix instead of a custom patch