pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg-config wrapper doesn't find libarchive.pc

Hi, everyone!

I am trying to create a package for xbps (
and getting the message:

Checking for libarchive >= 2.8.0 via pkg-config ... libarchive.pc file not found, exiting.

even though I included archivers/libarchive/ to the xbps' Makefile:

    DISTNAME=	xbps-0.51
    CATEGORIES=	pkgtools

    COMMENT=	The X Binary Package System
    LICENSE=	2-clause-bsd

    USE_TOOLS+=	pkg-config

    .include "../../archivers/libarchive/"
    .include "../../mk/"

Xbps' configure script executes the pkg-config wrapper from /var/tmp/pkgsrc-obj/wip/xbps/work/.tools/bin/pkg-config which looks for pc-files in var/tmp/pkgsrc-obj/wip/xbps/work/.buildlink/lib/pkgconfig & /var/tmp/pkgsrc-obj/wip/xbps/work/.buildlink/share/pkgconfig.

And indeed libarchive.pc is not in there.

I am not very familiar with the details of infrastructure, but as far as I understand including libarchive/ should automatically
add corresponding pc-files so that pkg-config wrapper can see them.

Did anyone see this problem before?

Aleksej Lebedev

Home | Main Index | Thread Index | Old Index