pkgsrc-Users archive

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

What is the proper way to refer to pkg-config.pc files provided by the base system?



Hello all,

I am using pkgsrc-2021Q2 on Debian Linux 11.0 x86_64, Kernel 5.11.10.
I would like to know the proper way to let a package to find pkgconfig.pc files provided by the base system during build.

For example, graphics/eog looks for libseccomp.pc, which I found under /usr/lib/x86_64-linux-gnu/pkgconfig/. When I copy the libseccomp.pc to pkgsrc-WORKDIR/.buildlink/lib/pkgconfig/, the package builds fine.

However, some dot.pc files such as gudev-1.0.pc are used by many packages and I would like to avoid copying the dot.pc files to WORKDIRs every time.

Best regards,

Yosuke

you.kawasaki%gmail.com@localhost


Home | Main Index | Thread Index | Old Index