On Thursday 31 May 2012 08:55:25 Michał Górny wrote:
> +# Note: this function implicitly calls pkg-config. You should add it to
> +# your DEPEND when using it.

should clarify: implicitly calls pkg-config when your package provides a .pc.

> +     if [[ ! ${removing_all} ]]; then
> +             local f
> +             local tf=${T}/prune-lt-files.pc
> +             local pkgconf=$(tc-getPKG_CONFIG)
> +
> +             while IFS= read -r -d '' f; do # for all .pc files
> +                     sed -e '/^Requires:/d' "${f}" > "${tf}"
> +                     for arg in $("${pkgconf}" --libs "${tf}"); do

missing `local arg`

> +             done < <(find "${D}" -type f -name '*.pc' -print0)

not a big deal since it'll get cleaned anyways, but this doesn't clean up $tf 
when done

if no one else has feedback, i guess merge it
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to