diff options
author | Sam James <sam@gentoo.org> | 2022-08-10 21:35:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-10 21:35:14 +0100 |
commit | c1677ad122d5567fd6a8119f7a493229749e87fe (patch) | |
tree | a6a664dc7d996959414b8870ed6c50ce9d25ff47 /sys-devel | |
parent | dev-python/pypy: Remove most of stdlib by default (diff) | |
download | gentoo-c1677ad122d5567fd6a8119f7a493229749e87fe.tar.gz gentoo-c1677ad122d5567fd6a8119f7a493229749e87fe.tar.bz2 gentoo-c1677ad122d5567fd6a8119f7a493229749e87fe.zip |
sys-devel/binutils: disable emacs build for cross
Causes collisions w/ cross-*/binutils
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/binutils-2.38-r2.ebuild | 8 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.39.ebuild | 8 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild b/sys-devel/binutils/binutils-2.38-r2.ebuild index 71cc495774c1..b4b21afc9d21 100644 --- a/sys-devel/binutils/binutils-2.38-r2.ebuild +++ b/sys-devel/binutils/binutils-2.38-r2.ebuild @@ -312,7 +312,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) @@ -406,7 +406,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 @@ -423,7 +423,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() { @@ -448,7 +448,7 @@ pkg_postrm() { binutils-config ${CTARGET}-${PV} fi - use emacs && elisp-site-regen + ! is_cross && use emacs && elisp-site-regen } # Note [slotting support] diff --git a/sys-devel/binutils/binutils-2.39.ebuild b/sys-devel/binutils/binutils-2.39.ebuild index 3cc9c5cdcc87..22183040ab35 100644 --- a/sys-devel/binutils/binutils-2.39.ebuild +++ b/sys-devel/binutils/binutils-2.39.ebuild @@ -317,7 +317,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) @@ -420,7 +420,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 @@ -437,7 +437,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() { @@ -462,7 +462,7 @@ pkg_postrm() { binutils-config ${CTARGET}-${PV} fi - use emacs && elisp-site-regen + ! is_cross && use emacs && elisp-site-regen } # Note [slotting support] 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] |