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 6FDC0138350 for ; Thu, 9 Apr 2020 08:29:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E160E09DA; Thu, 9 Apr 2020 08:29:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 638D4E09DA for ; Thu, 9 Apr 2020 08:29:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A05B834F0AB for ; Thu, 9 Apr 2020 08:29:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7B331CC for ; Thu, 9 Apr 2020 08:29:17 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1586420942.cc7328c5d8227a899dacd2b5af42b5d9a6fb7c5a.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/strace/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/strace/strace-5.6.ebuild X-VCS-Directories: dev-util/strace/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: cc7328c5d8227a899dacd2b5af42b5d9a6fb7c5a X-VCS-Branch: master Date: Thu, 9 Apr 2020 08:29:17 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b11e100a-f3e6-451f-8c48-3a4ac6b3e89d X-Archives-Hash: 29a2c2870e0be1ac12c25fe1045a714e commit: cc7328c5d8227a899dacd2b5af42b5d9a6fb7c5a Author: Lars Wendler gentoo org> AuthorDate: Thu Apr 9 08:15:37 2020 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Apr 9 08:29:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc7328c5 dev-util/strace: Sync 5.6 ebuild with previous fix Package-Manager: Portage-2.3.97, Repoman-2.3.22 Signed-off-by: Lars Wendler gentoo.org> dev-util/strace/strace-5.6.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dev-util/strace/strace-5.6.ebuild b/dev-util/strace/strace-5.6.ebuild index 369df34c830..cf81c1cc50d 100644 --- a/dev-util/strace/strace-5.6.ebuild +++ b/dev-util/strace/strace-5.6.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit autotools flag-o-matic toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/strace/strace.git" @@ -22,6 +22,9 @@ IUSE="aio perl static unwind elfutils" REQUIRED_USE="?? ( unwind elfutils )" +BDEPEND=" + virtual/pkgconfig +" LIB_DEPEND=" unwind? ( sys-libs/libunwind[static-libs(+)] ) elfutils? ( dev-libs/elfutils[static-libs(+)] ) @@ -37,9 +40,15 @@ RDEPEND=" perl? ( dev-lang/perl ) " +PATCHES=( + "${FILESDIR}/${PN}-5.5-static.patch" +) + src_prepare() { default + eautoreconf + if [[ ! -e configure ]] ; then # git generation sed /autoreconf/d -i bootstrap || die @@ -49,8 +58,6 @@ src_prepare() { fi filter-lfs-flags # configure handles this sanely - # Add -pthread since strace wants -lrt for timer_create, and -lrt uses -lpthread. - use static && append-ldflags -static -pthread export ac_cv_header_libaio_h=$(usex aio) use elibc_musl && export ac_cv_header_stdc=no @@ -71,6 +78,7 @@ src_configure() { # Don't require mpers support on non-multilib systems. #649560 local myeconfargs=( --enable-mpers=check + $(use_enable static) $(use_with unwind libunwind) $(use_with elfutils libdw) )