Changeset View
Changeset View
Standalone View
Standalone View
head/Mk/Scripts/qa.sh
Show First 20 Lines • Show All 249 Lines • ▼ Show 20 Lines | while read f; do | ||||
END {print libperl+rpath+runpath} | END {print libperl+rpath+runpath} | ||||
"` | "` | ||||
case "${found}" in | case "${found}" in | ||||
*1) | *1) | ||||
warn "${f} is not linked with ${LIBPERL}, not respecting lddlflags?" | warn "${f} is not linked with ${LIBPERL}, not respecting lddlflags?" | ||||
;; | ;; | ||||
*0) | *0) | ||||
has_some_libperl_so=1 | has_some_libperl_so=1 | ||||
# Older Perl did not USE_LDCONFIG. | |||||
if [ ! -f ${LOCALBASE}/${LDCONFIG_DIR}/perl5 ]; then | |||||
case "${found}" in | case "${found}" in | ||||
*1?) | *1?) | ||||
warn "${f} does not have a rpath to ${LIBPERL}, not respecting lddlflags?" | warn "${f} does not have a rpath to ${LIBPERL}, not respecting lddlflags?" | ||||
;; | ;; | ||||
esac | esac | ||||
case "${found}" in | case "${found}" in | ||||
1??) | 1??) | ||||
warn "${f} does not have a runpath to ${LIBPERL}, not respecting lddlflags?" | warn "${f} does not have a runpath to ${LIBPERL}, not respecting lddlflags?" | ||||
;; | ;; | ||||
esac | esac | ||||
fi | |||||
;; | ;; | ||||
esac | esac | ||||
# Use heredoc to avoid losing rc from find|while subshell | # Use heredoc to avoid losing rc from find|while subshell | ||||
done <<-EOT | done <<-EOT | ||||
$(find ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} -name '*.so') | $(find ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL} -name '*.so') | ||||
EOT | EOT | ||||
if [ ${files} -gt 0 -a ${has_some_libperl_so} -eq 0 ]; then | if [ ${files} -gt 0 -a ${has_some_libperl_so} -eq 0 ]; then | ||||
▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines |