The pkgconfig package was added as "provides" instead of a
dependency when .pc files were in a package.
# We have a dependency. Make a note that we need the pkgconfig
# tool for this package.
echo "pkgconfig(${n}) ${r} ${v}"
-
- # The dependency on the pkgconfig package itself.
- echo "pkgconfig"
done
done | sort -u
fi
pkgconfig=$(which pkg-config)
if [ -n "${pkgconfig}" -a -x "${pkgconfig}" ]; then
for file in ${pkgconfig_files}; do
+ # The dependency for the pkgconfig package itself.
+ echo "pkgconfig"
+
${pkgconfig} --print-requires --print-requires-private "${file}" 2> /dev/null | while read n r v ; do
echo "pkgconfig(${n})" "${r}" "${v}"
done