Lines 666-672
proxydeps() {
Link Here
|
666 |
# When grep -q finds a match it will close the pipe immediately. |
666 |
# When grep -q finds a match it will close the pipe immediately. |
667 |
# This may cause the test to fail when pipefail is turned on. |
667 |
# This may cause the test to fail when pipefail is turned on. |
668 |
set +o pipefail |
668 |
set +o pipefail |
669 |
if ! readelf -d "${dep_file}" | grep -q SONAME; then |
669 |
if ! readelf -d "${dep_file}" | grep SONAME > /dev/null; then |
670 |
err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed." |
670 |
err "${file} is linked to ${dep_file} which does not have a SONAME. ${dep_file_pkg} needs to be fixed." |
671 |
fi |
671 |
fi |
672 |
set -o pipefail |
672 |
set -o pipefail |
Lines 717-723
sonames() {
Link Here
|
717 |
[ -z "${f}" ] && continue |
717 |
[ -z "${f}" ] && continue |
718 |
# Ignore symlinks |
718 |
# Ignore symlinks |
719 |
[ -f "${f}" -a ! -L "${f}" ] || continue |
719 |
[ -f "${f}" -a ! -L "${f}" ] || continue |
720 |
if ! readelf -d ${f} | grep -q SONAME; then |
720 |
if ! readelf -d ${f} | grep SONAME > /dev/null; then |
721 |
warn "${f} doesn't have a SONAME." |
721 |
warn "${f} doesn't have a SONAME." |
722 |
warn "pkg(8) will not register it as being provided by the port." |
722 |
warn "pkg(8) will not register it as being provided by the port." |
723 |
warn "If another port depend on it, pkg will not be able to know where it comes from." |
723 |
warn "If another port depend on it, pkg will not be able to know where it comes from." |