From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7A15D13881D for ; Sat, 26 Sep 2015 18:15:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92D0B21C04D; Sat, 26 Sep 2015 18:15:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB68E21C050 for ; Sat, 26 Sep 2015 18:15:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 88975340C04 for ; Sat, 26 Sep 2015 18:15:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F16E23F for ; Sat, 26 Sep 2015 18:15:15 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1443291308.4c2963c4795822d443a0128e5ec47d1418f6b2a1.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/binutils-libs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/binutils-libs/Manifest sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild sys-libs/binutils-libs/metadata.xml X-VCS-Directories: sys-libs/binutils-libs/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 4c2963c4795822d443a0128e5ec47d1418f6b2a1 X-VCS-Branch: master Date: Sat, 26 Sep 2015 18:15:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a10ea0cd-57ab-47f1-83ad-f6523418787b X-Archives-Hash: dafdf20c623602d3c5459dca6cc19eed commit: 4c2963c4795822d443a0128e5ec47d1418f6b2a1 Author: Mike Frysinger gentoo org> AuthorDate: Sat Sep 26 17:44:00 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Sep 26 18:15:08 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2963c4 sys-libs/binutils-libs: new package #528088 Since packages want to link against binutils libs (bfd/opcodes) and properly track updates when the binutils SONAMEs change, split the libs out into a dedicated package. This way we can continue with the multi-SLOT-ed binutils package w/out making the library users go crazy. sys-libs/binutils-libs/Manifest | 2 + sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild | 77 ++++++++++++++++++++++ sys-libs/binutils-libs/metadata.xml | 8 +++ 3 files changed, 87 insertions(+) diff --git a/sys-libs/binutils-libs/Manifest b/sys-libs/binutils-libs/Manifest new file mode 100644 index 0000000..6dc0601 --- /dev/null +++ b/sys-libs/binutils-libs/Manifest @@ -0,0 +1,2 @@ +DIST binutils-2.25.1-patches-1.1.tar.xz 18724 SHA256 3d4c0ab2d45d3a952f60246fa5a4353f057c03110130b50e3b2103bd49c345fa SHA512 209c55bf26b51d8c513b40abd2d95f687159c4e964a6c732924f277d04c97323c427fe452c63d5ec6962dcd8892d6d5d807ba88826739425bce6812a31f573dd WHIRLPOOL 2b650af352183d2b58abaee955b223606d63bd5f22a73360e79af1d3b575c5ea385f90be92348ec850534d96f7b6632b1e494f314ec1655eedc26108e849aab7 +DIST binutils-2.25.1.tar.bz2 24163561 SHA256 b5b14added7d78a8d1ca70b5cb75fef57ce2197264f4f5835326b0df22ac9f22 SHA512 0b36dda0e6d32cd25613c0e64b56b28312515c54d6a159efd3db9a86717f114ab0a0a1f69d08975084d55713ebaeab64e4085c9b3d1c3fa86712869f80eb954d WHIRLPOOL daa804331ee880296c2fe29fd9b8a52cc695629d4bbe0b9889d96ffc54d330f00fac3f3cb12b3aaf6b7505521ef499c53760912cd7c9bb54f2d5e288224bd1eb diff --git a/sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild new file mode 100644 index 0000000..9faa28d --- /dev/null +++ b/sys-libs/binutils-libs/binutils-libs-2.25.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +PATCHVER="1.1" + +inherit eutils + +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_P}-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 -sparc-fbsd ~x86-fbsd" +IUSE="nls static-libs zlib" + +COMMON_DEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${COMMON_DEPEND} + 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? ( !=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) + # 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 nls \ + && myconf+=( --without-included-gettext ) \ + || myconf+=( --disable-nls ) + + econf "${myconf[@]}" +} + +src_install() { + default + use static-libs || find "${ED}"/usr -name '*.la' -delete + # Provide libiberty.h directly. + dosym libiberty/libiberty.h /usr/include/libiberty.h +} diff --git a/sys-libs/binutils-libs/metadata.xml b/sys-libs/binutils-libs/metadata.xml new file mode 100644 index 0000000..e9755a1 --- /dev/null +++ b/sys-libs/binutils-libs/metadata.xml @@ -0,0 +1,8 @@ + + + +toolchain + + cpe:/a:gnu:binutils + +