Skip bogus '$ECLASS inherited illegally' messages when installing from a binary packa...
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 03:38:54 +0000 (03:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 03:38:54 +0000 (03:38 -0000)
svn path=/main/branches/2.1.2.9/; revision=7456

bin/ebuild.sh

index 6940c9df47be06caaeec531b282969eead2b1be8..5b9abd7a6145953bee0caeb6040498c55140bdfe 100755 (executable)
@@ -1218,7 +1218,8 @@ inherit() {
                export ECLASS="$1"
 
                if [ "${EBUILD_PHASE}" != "depend" ] && \
-                       [[ ${EBUILD_PHASE} != *rm ]]; then
+                       [[ ${EBUILD_PHASE} != *rm ]] && \
+                       [[ ${EMERGE_FROM} != "binary" ]] ; then
                        # This is disabled in the *rm phases because they frequently give
                        # false alarms due to INHERITED in /var/db/pkg being outdated
                        # in comparison the the eclasses from the portage tree.