diff options
author | 2009-12-12 19:21:29 +0100 | |
---|---|---|
committer | 2009-12-12 19:21:29 +0100 | |
commit | 491b05f64c95f783029c484203f58f46a3a50e33 (patch) | |
tree | 601d3f447a8b28f9077db6470e2911f4b966120b /bashrc | |
parent | Add bashrc and update the emerge wrapper now that register_success_hook exists. (diff) | |
download | flameeyes-tinderbox-491b05f64c95f783029c484203f58f46a3a50e33.tar.gz flameeyes-tinderbox-491b05f64c95f783029c484203f58f46a3a50e33.tar.bz2 flameeyes-tinderbox-491b05f64c95f783029c484203f58f46a3a50e33.zip |
Warn if .la files are found in Python, Perl or Ruby paths.
Sicne neither of the three languages use ltdl to load their extensions, the
.la files present there are definitely not useful and could be dropped
without thinking twice about them.
Diffstat (limited to 'bashrc')
-rwxr-xr-x | bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -59,7 +59,11 @@ post_src_install() { \( -path "${D}"usr/share/doc/\* -type d -prune -not \( -name "${PF}" -or -name 'KDE4' -or -name 'HTML' \) \ -fprintf "${T}"/flameeyes-invalid-directory.log "/%P\n" \) , \ \( -path "${D}"usr/share/locale/\* -name '*.mo' \ - -fprintf "${T}"/flameeyes-locales.log "/%P\n" \) + -fprintf "${T}"/flameeyes-locales.log "/%P\n" \) , \ + \( \( -path "${D}"/usr/lib\*/python\*/site-packages/\* -or \ + -path "${D}"/usr/lib\*/ruby/site-ruby/\* -or \ + -path "${D}"/usr/lib\*/perl5/\* \) -name '*.la' \ + -fprintf "${T}"/flameeyes-pointless-la.log "/%P\n" \) if [[ -d "${D}"/usr/share/locale ]] && ! [[ -s "${T}"/flameeyes-locales.log ]]; then eqawarn "No locales installed (bug #264114)" @@ -76,6 +80,7 @@ post_src_install() { flameeyes_warning_if_file flameeyes-setXid-binaries.log "setXid files found" flameeyes_warning_if_file flameeyes-share-elfs.log "ELF files in /usr/share" flameeyes_warning_if_file flameeyes-elfs-bincheck.log "ELF files in a binchecks-restricted package" + flameeyes_warning_if_file flameeyes-pointless-la.log "Pointless libtool .la files found" lafilefixer "${D}" } |