public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14457 - main/branches/prefix/bin
@ 2009-09-28 20:32 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2009-09-28 20:32 UTC (permalink / raw
  To: gentoo-commits

Author: grobian
Date: 2009-09-28 20:32:37 +0000 (Mon, 28 Sep 2009)
New Revision: 14457

Modified:
   main/branches/prefix/bin/misc-functions.sh
Log:
don't run all those expensice ELF checks on Darwin, it has scanelf, but it doesn't have ELF, make bundle check restrictable

Modified: main/branches/prefix/bin/misc-functions.sh
===================================================================
--- main/branches/prefix/bin/misc-functions.sh	2009-09-28 18:31:35 UTC (rev 14456)
+++ main/branches/prefix/bin/misc-functions.sh	2009-09-28 20:32:37 UTC (rev 14457)
@@ -59,7 +59,7 @@
 		sleep 1
 	done
 
-	if type -P scanelf > /dev/null && ! hasq binchecks ${RESTRICT}; then
+	if [[ ${CHOST} != *-darwin* ]] && type -P scanelf > /dev/null && ! hasq binchecks ${RESTRICT}; then
 		local qa_var insecure_rpath=0 tmp_quiet=${PORTAGE_QUIET}
 		local f x
 
@@ -520,7 +520,7 @@
 		fi
 	fi
 
-	if [[ ${CHOST} == *-darwin* ]] ; then
+	if [[ ${CHOST} == *-darwin* ]] && ! hasq binchecks ${RESTRICT} ; then
 		# on Darwin, dynamic libraries are called .dylibs instead of
 		# .sos.  In addition the version component is before the
 		# extension, not after it.  Check for this, and *only* warn




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-28 20:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-28 20:32 [gentoo-commits] portage r14457 - main/branches/prefix/bin Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox