Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libffi/
Date: Sun, 29 Mar 2020 08:57:54
Message-Id: 1585472262.0332a95674d224c4e052f45adac0d1bfadb15a6d.slyfox@gentoo
1 commit: 0332a95674d224c4e052f45adac0d1bfadb15a6d
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 08:57:31 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 08:57:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0332a956
7
8 dev-libs/libffi: drop old
9
10 Package-Manager: Portage-2.3.96, Repoman-2.3.22
11 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
12
13 dev-libs/libffi/Manifest | 1 -
14 dev-libs/libffi/libffi-3.2.1.ebuild | 60 -------------------------------------
15 2 files changed, 61 deletions(-)
16
17 diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest
18 index 9fa0dc94fe4..0ac0d4827f2 100644
19 --- a/dev-libs/libffi/Manifest
20 +++ b/dev-libs/libffi/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST libffi-3.2.1.tar.gz 940837 BLAKE2B d202ccaa185acfd2476ed2a9b011891507cd8efbbda60f67c583268d1563853442ed829acecbf81c9b6b9a930345780bb7a4bd80e71e50ef544c7f4eab8cb01f SHA512 980ca30a8d76f963fca722432b1fe5af77d7a4e4d2eac5144fbc5374d4c596609a293440573f4294207e1bdd9fda80ad1e1cafb2ffb543df5a275bc3bd546483
23 DIST libffi-3.3-rc0.tar.gz 1084854 BLAKE2B 2c38d60f17ef52bcf270178c13c218f6ee320c9785091621d4689bcf6cee31d07eaaca12790965e1ae3ad71ad2c408342743968bf1d23f81a07fbdf6cfd55b90 SHA512 e6e695d32cd6eb7d65983f32986fccdfc786a593d2ea18af30ce741f58cfa1eb264b1a8d09df5084cb916001aea15187b005c2149a0620a44397a4453b6137d4
24 DIST libffi-3.3.tar.gz 1305466 BLAKE2B cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa SHA512 61513801a156f11420f541d325de697131846487122d6bdcf5491b18b4da788589f5c0bb07e88e396495d3be5830d74e9135595e2b8ddbfe95c448d8597fbd6f
25
26 diff --git a/dev-libs/libffi/libffi-3.2.1.ebuild b/dev-libs/libffi/libffi-3.2.1.ebuild
27 deleted file mode 100644
28 index ed83a9f8dc2..00000000000
29 --- a/dev-libs/libffi/libffi-3.2.1.ebuild
30 +++ /dev/null
31 @@ -1,60 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=5
36 -inherit eutils libtool ltprune multilib multilib-minimal toolchain-funcs
37 -
38 -DESCRIPTION="a portable, high level programming interface to various calling conventions"
39 -HOMEPAGE="https://sourceware.org/libffi/"
40 -SRC_URI="ftp://sourceware.org/pub/${PN}/${P}.tar.gz"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 -IUSE="debug pax_kernel static-libs test"
46 -
47 -RESTRICT="!test? ( test )"
48 -
49 -RDEPEND=""
50 -DEPEND="test? ( dev-util/dejagnu )"
51 -
52 -DOCS="ChangeLog* README"
53 -
54 -ECONF_SOURCE=${S}
55 -
56 -pkg_setup() {
57 - # Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example
58 - if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then
59 - local base="${T}"/conftest
60 - echo 'int main() { }' > "${base}".c
61 - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null
62 - if [ $? -eq 0 ]; then
63 - eerror "The linker reported linking against -lffi to be working while it shouldn't have."
64 - eerror "This is wrong and you should find and delete the old copy of libffi before continuing."
65 - die "The system is in inconsistent state with unknown libffi installed."
66 - fi
67 - fi
68 -}
69 -
70 -src_prepare() {
71 - sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
72 - epatch "${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044
73 - epatch "${FILESDIR}"/${PN}-3.2.1-complex_alpha.patch
74 - epatch "${FILESDIR}"/${PN}-3.1-darwin-x32.patch
75 - epatch "${FILESDIR}"/${PN}-3.2.1-complex-ia64.patch
76 - epatch_user
77 - elibtoolize
78 -}
79 -
80 -multilib_src_configure() {
81 - use userland_BSD && export HOST="${CHOST}"
82 - econf \
83 - $(use_enable static-libs static) \
84 - $(use_enable pax_kernel pax_emutramp) \
85 - $(use_enable debug)
86 -}
87 -
88 -multilib_src_install_all() {
89 - prune_libtool_files
90 - einstalldocs
91 -}