mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-libs/binutils-libs: bump up to 2.29.1
Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
@@ -7,4 +7,5 @@ DIST binutils-2.28.1-patches-1.0.tar.xz 19772 SHA256 50cfce6ef7f546dcdb983a8b632
|
||||
DIST binutils-2.28.1.tar.bz2 28120394 SHA256 6924999be62d4464458eb53c11f27277cfb63755df8c1cd47b8d15d02c1942ea SHA512 5ec5212497b0fa8324f6a0884c284cb71c01942bbd39356d1ae745a5c9d97274c10f9d9c723f4bef6f0217662dfcd0c36e4e955a7599b11217658dc7b97553eb WHIRLPOOL 5c616f719827e5da7db23e89c761323cd4828b4779e79c3983d3ea429bce57ed40219982c478237b4dd728b77bae0a6447d912d96490ed1f5fc279ba5fd73bc6
|
||||
DIST binutils-2.28.tar.bz2 26556365 SHA256 6297433ee120b11b4b0a1c8f3512d7d73501753142ab9e2daa13c5a3edd32a72 SHA512 ede2e4e59a800260eea8c14eafbaee94e30abadafd5c419a3370f9f62213cf027d6400a1d4970b6958bd4d220e675dcd483a708107016e7abd5c99d7392ba8fd WHIRLPOOL 7fb876668c4fd8b10641fb8d831e7d23723ccb9b1051650c76a3a99696d37d120ef969e3c1cc144b0ffd765ef8e8698fe553c39cc65d0b9499a87d4886d6419d
|
||||
DIST binutils-2.29-patches-1.0.tar.xz 7548 SHA256 8ce4d1ea1224a305c4e36529e02dba87306075638ba0415b69ceeccedc77cd6e SHA512 5375bfb1b796b7692cf2adfc41bd2ae2e6dc19ff497db5f6beb35a456981b3adb8552ef14f32382faf655aa40da86c2d44177a658ec71e1c0e228dc27a4f2e18 WHIRLPOOL 73d2b78ea18e3427442bcb24440f671c1d35c0b559bf2141f30052b2bb8d6a8a6e29994cac741e4e50071c716d761f32b36358487a176d67e8cd226dfaaeafc2
|
||||
DIST binutils-2.29.1.tar.bz2 29123355 SHA256 1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc SHA512 4063d34555526922376ccceb3f14b43e287442e82a8038cf50f4f51ad97d438c672c0e310ca4b856c9aff5aa9911073e256e8298a7a3f1844eeb60b90d955592 WHIRLPOOL 55bf62434bb00b9a355f8d7138c97b6d984eed3a83d7eb37137cf3ab8efcc8e536415d68eba375ae0ab30743f5b3014a664f7d3c773ed55da40c8814691e04d8
|
||||
DIST binutils-2.29.tar.bz2 29073316 SHA256 29a29549869039aad75fdf507ac30366da5ad0b974fbff4a8e7148dbf4f40ebf SHA512 8148587d7e4f14ebcbcb3f984b116deaae5d4008228628acde14bc242a64a4b53faf1f6077a2c4ca4750e2f254b698ba506bd657f79e1202e87e7029b0069337 WHIRLPOOL 62b3e9ff6f85f8f4a13b71361f5abc4081a70de560931dcaaece1daef04c6bc7d3e0085cbacff0abbb750c4779863d45bc0d8d17273965472992c6b61b5cab20
|
||||
|
||||
96
sys-libs/binutils-libs/binutils-libs-2.29.1.ebuild
Normal file
96
sys-libs/binutils-libs/binutils-libs-2.29.1.ebuild
Normal file
@@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PATCHVER="1.0"
|
||||
PATCH_BINUTILS_VER="2.29"
|
||||
|
||||
inherit eutils toolchain-funcs multilib-minimal
|
||||
|
||||
MY_PN="binutils"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Core binutils libraries (libbfd, libopcodes, libiberty) for external packages"
|
||||
HOMEPAGE="https://sourceware.org/binutils/"
|
||||
SRC_URI="mirror://gnu/binutils/${MY_P}.tar.bz2
|
||||
mirror://gentoo/${MY_PN}-${PATCH_BINUTILS_VER}-patches-${PATCHVER}.tar.xz"
|
||||
|
||||
LICENSE="|| ( GPL-3 LGPL-3 )"
|
||||
# The shared lib SONAMEs use the ${PV} in them.
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="64-bit-bfd multitarget nls static-libs"
|
||||
|
||||
COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=sys-apps/texinfo-4.7
|
||||
nls? ( sys-devel/gettext )"
|
||||
# Need a newer binutils-config that'll reset include/lib symlinks for us.
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=sys-devel/binutils-config-5
|
||||
nls? ( !<sys-devel/gdb-7.10-r1[nls] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS=(
|
||||
/usr/include/bfd.h
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
|
||||
}
|
||||
|
||||
pkgversion() {
|
||||
printf "Gentoo ${PVR}"
|
||||
[[ -n ${PATCHVER} ]] && printf " p${PATCHVER}"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--enable-obsolete
|
||||
--enable-shared
|
||||
--enable-threads
|
||||
# Newer versions (>=2.24) make this an explicit option. #497268
|
||||
--enable-install-libiberty
|
||||
--disable-werror
|
||||
--with-bugurl="https://bugs.gentoo.org/"
|
||||
--with-pkgversion="$(pkgversion)"
|
||||
$(use_enable static-libs static)
|
||||
# The binutils eclass enables this flag for all bi-arch builds,
|
||||
# but other tools often don't care about that support. Put it
|
||||
# beyond a flag if people really want it, but otherwise leave
|
||||
# it disabled as it can slow things down on 32bit arches. #438522
|
||||
$(use_enable 64-bit-bfd)
|
||||
# This only disables building in the zlib subdir.
|
||||
# For binutils itself, it'll use the system version. #591516
|
||||
--without-zlib
|
||||
--with-system-zlib
|
||||
# We only care about the libs, so disable programs. #528088
|
||||
--disable-{binutils,etc,ld,gas,gold,gprof}
|
||||
# Disable modules that are in a combined binutils/gdb tree. #490566
|
||||
--disable-{gdb,libdecnumber,readline,sim}
|
||||
# Strip out broken static link flags.
|
||||
# https://gcc.gnu.org/PR56750
|
||||
--without-stage1-ldflags
|
||||
)
|
||||
|
||||
use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd )
|
||||
|
||||
use nls \
|
||||
&& myconf+=( --without-included-gettext ) \
|
||||
|| myconf+=( --disable-nls )
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
# Provide libiberty.h directly.
|
||||
dosym libiberty/libiberty.h /usr/include/libiberty.h
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use static-libs || find "${ED}"/usr -name '*.la' -delete
|
||||
}
|
||||
Reference in New Issue
Block a user