summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-06 04:40:51 +0100
committerSam James <sam@gentoo.org>2022-09-06 04:40:51 +0100
commit54fd4eb35a3655b08fac7d75a91ccf2697ffe252 (patch)
treefa337eee97ce020c58bda86b31a77ffe5e909527 /sys-devel
parentapp-emacs/dwarf-mode: add blockers for sys-devel/binutils[emacs] (diff)
downloadgentoo-54fd4eb35a3655b08fac7d75a91ccf2697ffe252.tar.gz
gentoo-54fd4eb35a3655b08fac7d75a91ccf2697ffe252.tar.bz2
gentoo-54fd4eb35a3655b08fac7d75a91ccf2697ffe252.zip
sys-devel/binutils: drop USE=emacs (moved to app-emacs/dwarf-mode)
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/binutils-2.38-r2.ebuild14
-rw-r--r--sys-devel/binutils/binutils-2.39-r1.ebuild14
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild14
3 files changed, 3 insertions, 39 deletions
diff --git a/sys-devel/binutils/binutils-2.38-r2.ebuild b/sys-devel/binutils/binutils-2.38-r2.ebuild
index 7f49d0e9d113..557b4622882d 100644
--- a/sys-devel/binutils/binutils-2.38-r2.ebuild
+++ b/sys-devel/binutils/binutils-2.38-r2.ebuild
@@ -8,7 +8,7 @@ inherit elisp-common libtool flag-o-matic gnuconfig strip-linguas toolchain-func
DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
-IUSE="cet default-gold doc emacs +gold multitarget +nls pgo +plugins static-libs test vanilla"
+IUSE="cet default-gold doc +gold multitarget +nls pgo +plugins static-libs test vanilla"
REQUIRED_USE="default-gold? ( gold )"
# Variables that can be set here (ignored for live ebuilds)
@@ -52,7 +52,6 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
RDEPEND="
>=sys-devel/binutils-config-3
sys-libs/zlib
- emacs? ( >=app-editors/emacs-23.1:* )
"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -312,8 +311,6 @@ src_compile() {
emake V=1 info
fi
- ! 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)
find . -name '*.1' -a -size 0 -delete
@@ -406,11 +403,6 @@ src_install() {
dodoc opcodes/ChangeLog*
fi
- 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
-
# Remove shared info pages
rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
@@ -422,8 +414,6 @@ pkg_postinst() {
# Make sure this ${CTARGET} has a binutils version selected
[[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0
binutils-config ${CTARGET}-${PV}
-
- ! is_cross && use emacs && elisp-site-regen
}
pkg_postrm() {
@@ -447,8 +437,6 @@ pkg_postrm() {
elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then
binutils-config ${CTARGET}-${PV}
fi
-
- ! is_cross && use emacs && elisp-site-regen
}
# Note [slotting support]
diff --git a/sys-devel/binutils/binutils-2.39-r1.ebuild b/sys-devel/binutils/binutils-2.39-r1.ebuild
index ed23cdc5a829..816ef121f08a 100644
--- a/sys-devel/binutils/binutils-2.39-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.39-r1.ebuild
@@ -8,7 +8,7 @@ inherit elisp-common libtool flag-o-matic gnuconfig strip-linguas toolchain-func
DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
-IUSE="cet default-gold doc emacs gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
+IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
REQUIRED_USE="default-gold? ( gold )"
# Variables that can be set here (ignored for live ebuilds)
@@ -52,7 +52,6 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
RDEPEND="
>=sys-devel/binutils-config-3
sys-libs/zlib
- emacs? ( >=app-editors/emacs-23.1:* )
"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -323,8 +322,6 @@ src_compile() {
emake V=1 info
fi
- ! 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)
find . -name '*.1' -a -size 0 -delete
@@ -426,11 +423,6 @@ src_install() {
dodoc opcodes/ChangeLog*
fi
- 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
-
# Remove shared info pages
rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
@@ -442,8 +434,6 @@ pkg_postinst() {
# Make sure this ${CTARGET} has a binutils version selected
[[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0
binutils-config ${CTARGET}-${PV}
-
- ! is_cross && use emacs && elisp-site-regen
}
pkg_postrm() {
@@ -467,8 +457,6 @@ pkg_postrm() {
elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then
binutils-config ${CTARGET}-${PV}
fi
-
- ! 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 98858772e782..033e36f10292 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -8,7 +8,7 @@ inherit elisp-common libtool flag-o-matic gnuconfig strip-linguas toolchain-func
DESCRIPTION="Tools necessary to build programs"
HOMEPAGE="https://sourceware.org/binutils/"
LICENSE="GPL-3+"
-IUSE="cet default-gold doc emacs gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
+IUSE="cet default-gold doc gold gprofng multitarget +nls pgo +plugins static-libs test vanilla"
REQUIRED_USE="default-gold? ( gold )"
# Variables that can be set here (ignored for live ebuilds)
@@ -53,7 +53,6 @@ is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
RDEPEND="
>=sys-devel/binutils-config-3
sys-libs/zlib
- emacs? ( >=app-editors/emacs-23.1:* )
"
DEPEND="${RDEPEND}"
BDEPEND="
@@ -324,8 +323,6 @@ src_compile() {
emake V=1 info
fi
- ! 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)
find . -name '*.1' -a -size 0 -delete
@@ -427,11 +424,6 @@ src_install() {
dodoc opcodes/ChangeLog*
fi
- 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
-
# Remove shared info pages
rm -f "${ED}"/${DATAPATH}/info/{dir,configure.info,standards.info}
@@ -443,8 +435,6 @@ pkg_postinst() {
# Make sure this ${CTARGET} has a binutils version selected
[[ -e ${EROOT}/etc/env.d/binutils/config-${CTARGET} ]] && return 0
binutils-config ${CTARGET}-${PV}
-
- ! is_cross && use emacs && elisp-site-regen
}
pkg_postrm() {
@@ -468,8 +458,6 @@ pkg_postrm() {
elif [[ $(CHOST=${CTARGET} binutils-config -c) == ${CTARGET}-${PV} ]] ; then
binutils-config ${CTARGET}-${PV}
fi
-
- ! is_cross && use emacs && elisp-site-regen
}
# Note [slotting support]