diff options
Diffstat (limited to 'sys-devel/binutils/binutils-9999.ebuild')
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index c3d9de773f3a..c2ab796642a4 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -316,7 +316,7 @@ src_compile() { emake V=1 info fi - use emacs && elisp-compile "${S}"/binutils/dwarf-mode.el + ! is_cross && use emacs && elisp-compile "${S}"/binutils/dwarf-mode.el # we nuke the manpages when we're left with junk # (like when we bootstrap, no perl -> no manpages) @@ -419,7 +419,7 @@ src_install() { dodoc opcodes/ChangeLog* fi - if use emacs ; then + if ! is_cross && use emacs ; then elisp-install ${PN} "${S}"/binutils/dwarf-mode.el{,c} elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" fi @@ -436,7 +436,7 @@ pkg_postinst() { [[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0 binutils-config ${CTARGET}-${PV} - use emacs && elisp-site-regen + ! is_cross && use emacs && elisp-site-regen } pkg_postrm() { @@ -461,7 +461,7 @@ pkg_postrm() { binutils-config ${CTARGET}-${PV} fi - use emacs && elisp-site-regen + ! is_cross && use emacs && elisp-site-regen } # Note [slotting support] |