Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 75420 | Differences between
and this patch

Collapse All | Expand All

(-)ebuild.sh (-1 / +2 lines)
Lines 1105-1115 dyn_install() { Link Here
1105
	fi
1105
	fi
1106
1106
1107
	if hasq multilib-strict ${FEATURES} && [ -x /usr/bin/file -a -x /usr/bin/find -a \
1107
	if hasq multilib-strict ${FEATURES} && [ -x /usr/bin/file -a -x /usr/bin/find -a \
1108
	     -n "${MULTILIB_STRICT_DIRS}" -a -n "${MULTILIB_STRICT_DENY}" ]; then
1108
	     -n "${MULTILIB_STRICT_DIRS}" -a -n "${MULTILIB_STRICT_DENY}" ]; then
1109
		MULTILIB_STRICT_EXEMPT=${MULTILIB_STRICT_EXEMPT:-"(perl5|gcc|gcc-lib)"}
1109
		for dir in ${MULTILIB_STRICT_DIRS}; do
1110
		for dir in ${MULTILIB_STRICT_DIRS}; do
1110
			[ -d "${D}/${dir}" ] || continue
1111
			[ -d "${D}/${dir}" ] || continue
1111
			for file in $(find ${D}/${dir} -type f); do
1112
			for file in $(find ${D}/${dir} -type f | egrep -v "^${D}/${dir}/${MULTILIB_STRICT_EXEMPT}"); do
1112
				file ${file} | egrep -q "${MULTILIB_STRICT_DENY}" && die "File ${file} matches a file type that is not allowed in ${dir}"
1113
				file ${file} | egrep -q "${MULTILIB_STRICT_DENY}" && die "File ${file} matches a file type that is not allowed in ${dir}"
1113
			done
1114
			done
1114
		done
1115
		done
1115
	fi
1116
	fi

Return to bug 75420