svn commit: r428207 - head/Mk/Scripts

Mathieu Arnold mat at FreeBSD.org
Fri Dec 9 14:24:08 UTC 2016


Author: mat
Date: Fri Dec  9 14:24:07 2016
New Revision: 428207
URL: https://svnweb.freebsd.org/changeset/ports/428207

Log:
  Report the binary with bad linking.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/Scripts/qa.sh   (contents, props changed)

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Fri Dec  9 14:16:22 2016	(r428206)
+++ head/Mk/Scripts/qa.sh	Fri Dec  9 14:24:07 2016	(r428207)
@@ -107,15 +107,19 @@ shebang() {
 baselibs() {
 	local rc
 	local found_openssl
+	local file
 	[ "${PKGBASE}" = "pkg" -o "${PKGBASE}" = "pkg-devel" ] && return
 	while read f; do
 		case ${f} in
+		File:\ .*)
+			file=${f#File: .}
+			;;
 		*NEEDED*\[libarchive.so.[56]])
-			err "Bad linking on ${f##* } please add USES=libarchive"
+			err "Bad linking on ${f##* } for ${file} please add USES=libarchive"
 			rc=1
 			;;
 		*NEEDED*\[libedit.so.7])
-			err "Bad linking on ${f##* } please add USES=libedit"
+			err "Bad linking on ${f##* } for ${file} please add USES=libedit"
 			rc=1
 			;;
 		*NEEDED*\[libcrypto.so.*]|*NEEDED*\[libssl.so.*])


More information about the svn-ports-head mailing list