From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 69FA0138334 for ; Sun, 1 Jul 2018 20:37:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 370FCE088C; Sun, 1 Jul 2018 20:37:10 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7B57E088C for ; Sun, 1 Jul 2018 20:37:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 376B4335C2E for ; Sun, 1 Jul 2018 20:37:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1A2434B for ; Sun, 1 Jul 2018 20:37:05 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1530477418.e3a0ad152f42c3f4cf02a47d37116320fcae1a48.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gdb/gdb-9999.ebuild X-VCS-Directories: sys-devel/gdb/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e3a0ad152f42c3f4cf02a47d37116320fcae1a48 X-VCS-Branch: master Date: Sun, 1 Jul 2018 20:37:05 +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: 1e1ef14c-04c3-456c-8633-498e802b206b X-Archives-Hash: 3bbd56d1f59593c6475947f6b618ad7f commit: e3a0ad152f42c3f4cf02a47d37116320fcae1a48 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jul 1 20:36:48 2018 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jul 1 20:36:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a0ad15 sys-devel/gdb: sync live ebuild with 8.1-r2 Package-Manager: Portage-2.3.41, Repoman-2.3.9 sys-devel/gdb/gdb-9999.ebuild | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild index 69024483547..6795087ec18 100644 --- a/sys-devel/gdb/gdb-9999.ebuild +++ b/sys-devel/gdb/gdb-9999.ebuild @@ -68,8 +68,10 @@ REQUIRED_USE=" || ( client server ) " -RDEPEND="server? ( !dev-util/gdbserver ) +RDEPEND=" + server? ( !dev-util/gdbserver ) client? ( + dev-libs/mpfr:0= >=sys-libs/ncurses-5.2-r2:0= sys-libs/readline:0= lzma? ( app-arch/xz-utils ) @@ -167,6 +169,11 @@ src_configure() { $(use_with python python "${EPYTHON}") ) fi + if use sparc-solaris || use x86-solaris ; then + # disable largefile support + # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html + myconf+=( --disable-largefile ) + fi econf "${myconf[@]}" } @@ -176,22 +183,26 @@ src_test() { } src_install() { - use server && ! use client && cd gdb/gdbserver + if use server && ! use client; then + cd gdb/gdbserver || die + fi default - use client && find "${ED}"/usr -name libiberty.a -delete - cd "${S}" + if use client; then + find "${ED}"/usr -name libiberty.a -delete || die + fi + cd "${S}" || die # Delete translations that conflict with binutils-libs. #528088 # Note: Should figure out how to store these in an internal gdb dir. if use nls ; then find "${ED}" \ -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ - -delete + -delete || die fi # Don't install docs when building a cross-gdb if [[ ${CTARGET} != ${CHOST} ]] ; then - rm -r "${ED}"/usr/share/{doc,info,locale} + rm -rf "${ED}"/usr/share/{doc,info,locale} || die local f for f in "${ED}"/usr/share/man/*/* ; do if [[ ${f##*/} != ${CTARGET}-* ]] ; then