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 26B1B138350 for ; Sat, 21 Mar 2020 11:23:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CD32E09AB; Sat, 21 Mar 2020 11:23:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 D9AB3E09AB for ; Sat, 21 Mar 2020 11:23:28 +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 62A8534F019 for ; Sat, 21 Mar 2020 11:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EEFCE101 for ; Sat, 21 Mar 2020 11:23:25 +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: <1584789798.8567efbb44f58538cefc84aeeac9ea2adc904fd5.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ski/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ski/metadata.xml app-emulation/ski/ski-1.3.2-r4.ebuild X-VCS-Directories: app-emulation/ski/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8567efbb44f58538cefc84aeeac9ea2adc904fd5 X-VCS-Branch: master Date: Sat, 21 Mar 2020 11:23:25 +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: 22fb9b36-2f67-44f0-b513-af05a213dbca X-Archives-Hash: e72feee52f58e39ed57979b8a197d9e2 commit: 8567efbb44f58538cefc84aeeac9ea2adc904fd5 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Mar 21 10:59:14 2020 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Mar 21 11:23:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8567efbb app-emulation/ski: add USE=debug to make binutils-libs opetional ski's needs runtime detection of sys-libs/binutils-libs features which is not compatible with cross-compilation. Let's make the feature optional. Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Sergei Trofimovich gentoo.org> app-emulation/ski/metadata.xml | 3 ++ app-emulation/ski/ski-1.3.2-r4.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/app-emulation/ski/metadata.xml b/app-emulation/ski/metadata.xml index 36a9f93ec0b..b37238378ea 100644 --- a/app-emulation/ski/metadata.xml +++ b/app-emulation/ski/metadata.xml @@ -9,6 +9,9 @@ ia64@gentoo.org Gentoo Linux IA-64 Development + + enable extra binary emulation debugging via sys-libs/binutils-libs + ski diff --git a/app-emulation/ski/ski-1.3.2-r4.ebuild b/app-emulation/ski/ski-1.3.2-r4.ebuild new file mode 100644 index 00000000000..3d904abf6d4 --- /dev/null +++ b/app-emulation/ski/ski-1.3.2-r4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="ia64 instruction set simulator" +HOMEPAGE="http://ski.sourceforge.net/ http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug motif" + +RDEPEND="dev-libs/libltdl:0= + sys-libs/ncurses:0= + virtual/libelf + debug? ( sys-libs/binutils-libs:0= ) + motif? ( x11-libs/motif:0= )" +DEPEND="${RDEPEND} + sys-devel/bison + sys-devel/flex + dev-util/gperf" + +# games-sports/ski and app-emulation/ski both install 'ski' binary, bug #653110 +RDEPEND="${RDEPEND} !!games-sports/ski" + +PATCHES=( + "${FILESDIR}"/${P}-syscall-linux-includes.patch + "${FILESDIR}"/${P}-remove-hayes.patch + "${FILESDIR}"/${P}-no-local-ltdl.patch + "${FILESDIR}"/${P}-AC_C_BIGENDIAN.patch + "${FILESDIR}"/${P}-configure-withval.patch + "${FILESDIR}"/${P}-binutils.patch + "${FILESDIR}"/${P}-uselib.patch #592226 + "${FILESDIR}"/${P}-ncurses-config.patch + "${FILESDIR}"/${P}-prototypes.patch + "${FILESDIR}"/${P}-glibc-2.28.patch + "${FILESDIR}"/${P}-gcc-10.patch #707144 +) + +src_prepare() { + default + + if has_version ">=sys-libs/binutils-libs-2.34"; then + eapply "${FILESDIR}"/${PN}-1.3.2-binutils-2.34.patch + fi + + rm -rf libltdl src/ltdl.[ch] macros/ltdl.m4 + + AT_M4DIR="macros" eautoreconf +} + +src_configure() { + econf \ + --without-included-ltdl \ + --without-gtk \ + $(use_with motif x11) \ + $(use_with debug bfd) +}