Changeset View
Changeset View
Standalone View
Standalone View
Mk/Scripts/qa.sh
Show First 20 Lines • Show All 702 Lines • ▼ Show 20 Lines | proxydeps() { | ||||
EOT | EOT | ||||
[ -z "${PROXYDEPS_FATAL}" ] && return 0 | [ -z "${PROXYDEPS_FATAL}" ] && return 0 | ||||
return ${rc} | return ${rc} | ||||
} | } | ||||
sonames() { | sonames() { | ||||
[ -n "${BUNDLE_LIBS}" ] && return 0 | [ ! -d ${STAGEDIR}${PREFIX}/lib -o -n "${BUNDLE_LIBS}" ] && return 0 | ||||
while read f; do | while read f; do | ||||
# No results presents a blank line from heredoc. | # No results presents a blank line from heredoc. | ||||
[ -z "${f}" ] && continue | [ -z "${f}" ] && continue | ||||
# Ignore symlinks | # Ignore symlinks | ||||
[ -f "${f}" -a ! -L "${f}" ] || continue | [ -f "${f}" -a ! -L "${f}" ] || continue | ||||
if ! readelf -d ${f} | grep -q SONAME; then | if ! readelf -d ${f} | grep -q SONAME; then | ||||
warn "${f} doesn't have a SONAME." | warn "${f} doesn't have a SONAME." | ||||
warn "pkg(8) will not register it as being provided by the port." | warn "pkg(8) will not register it as being provided by the port." | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |