Stop adding hard-coded /usr/local/lib to front of lib path below. It causes problems when the same lib is installed from both ports and base even when built with rpath. Index: ../../Mk/Scripts/qa.sh =================================================================== --- ../../Mk/Scripts/qa.sh (revision 423956) +++ ../../Mk/Scripts/qa.sh (working copy) @@ -657,8 +657,8 @@ rc=1 fi already="${already} ${dep_file}" done <<-EOT - $(LD_LIBRARY_PATH=${LOCALBASE}/lib ldd -a "${STAGEDIR}${file}" | \ + $(ldd -a "${STAGEDIR}${file}" | \ awk '\ BEGIN {section=0}\ /^\// {section++}\