Hello, I've reinstalled xen from ports on FreeBSD-11.0 and it seems xenlight.pc is not being installed to /usr/local/libdata/pkgconfig/ directory. root@controller:/usr/ports/devel/libvirt # find /usr/ -type f -name xenlight.pc /usr/local/share/pkgconfig/xenlight.pc root@controller:/usr/ports/devel/libvirt # Name : xen Version : 4.7.0_2 Name : xen-tools Version : 4.7.0_4 could you apply this fix for FreeBSD ports tree please? original issue: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213744 -- Thanks, Alex ---- On Wed, 26 Oct 2016 15:02:15 +0300Wei Liu <wei.liu2@citrix.com> wrote ---- On Tue, Oct 25, 2016 at 02:26:55PM +0100, Wei Liu wrote: > On Tue, Oct 25, 2016 at 11:53:28AM +0200, Roger Pau Monne wrote: > > pkg-config from FreeBSD ports doesn't have ${prefix}/share/pkgconfig in the > > default search path, fix this by having a PKG_INSTALLDIR variable that can > > be changed on a per-OS basis. > > > > It would be best to use PKG_INSTALLDIR as defined by the pkg.m4 macro, but > > sadly this also reports a wrong value on FreeBSD (${libdir}/pkgconfig, which > > expands to /usr/local/lib/pkgconfig by default, and is also _not_ part of > > the default pkg-config search path). > > > > This patch should not change the behavior for Linux installs. > > > > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> > > Reported-by: Alexander Nusov <alexander.nusov@nfvexpress.com> > > Acked-by: Wei Liu <wei.liu2@citrix.com> Applied.