svn commit: r351133 - head/Mk/Scripts

Antoine Brodin antoine at FreeBSD.org
Sat Apr 12 20:49:52 UTC 2014


Author: antoine
Date: Sat Apr 12 20:49:52 2014
New Revision: 351133
URL: http://svnweb.freebsd.org/changeset/ports/351133
QAT: https://qat.redports.org/buildarchive/r351133/

Log:
  Do not advise to strip ELF relocatables, usually it is harmful
  
  With hat:	portmgr

Modified:
  head/Mk/Scripts/qa.sh

Modified: head/Mk/Scripts/qa.sh
==============================================================================
--- head/Mk/Scripts/qa.sh	Sat Apr 12 20:48:04 2014	(r351132)
+++ head/Mk/Scripts/qa.sh	Sat Apr 12 20:49:52 2014	(r351133)
@@ -123,7 +123,9 @@ stripped() {
 	find ${STAGEDIR} -type f -exec /usr/bin/file -nNF '' {} + | while
 	    read f output; do
 		case "${output}" in
-			ELF\ *,\ not\ stripped*) warn "${f} is not stripped consider using \${STRIP_CMD}" ;;
+			ELF\ *\ executable,\ *,\ not\ stripped*|ELF\ *\ shared\ object,\ *,\ not\ stripped*)
+				warn "${f} is not stripped consider using \${STRIP_CMD}"
+				;;
 		esac
 	done
 }


More information about the svn-ports-head mailing list