From 015285606bd6feb745d7f556277297869101020e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 2 May 2020 18:45:21 +0100 Subject: [PATCH] dev-libs/libffi: drop old Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- dev-libs/libffi/Manifest | 1 - dev-libs/libffi/libffi-3.3_rc0.ebuild | 64 --------------------------- 2 files changed, 65 deletions(-) delete mode 100644 dev-libs/libffi/libffi-3.3_rc0.ebuild diff --git a/dev-libs/libffi/Manifest b/dev-libs/libffi/Manifest index 0ac0d4827f2b..a1c499b413f7 100644 --- a/dev-libs/libffi/Manifest +++ b/dev-libs/libffi/Manifest @@ -1,2 +1 @@ -DIST libffi-3.3-rc0.tar.gz 1084854 BLAKE2B 2c38d60f17ef52bcf270178c13c218f6ee320c9785091621d4689bcf6cee31d07eaaca12790965e1ae3ad71ad2c408342743968bf1d23f81a07fbdf6cfd55b90 SHA512 e6e695d32cd6eb7d65983f32986fccdfc786a593d2ea18af30ce741f58cfa1eb264b1a8d09df5084cb916001aea15187b005c2149a0620a44397a4453b6137d4 DIST libffi-3.3.tar.gz 1305466 BLAKE2B cddc40729a30a9bd34d675809f51f8d1b4ccaffa54bc6dd6f7e965f4e260edd34754719f9f6247c8957aeb7cf154d56ce1fe16a54c3f1ad39afbebdf41d23caa SHA512 61513801a156f11420f541d325de697131846487122d6bdcf5491b18b4da788589f5c0bb07e88e396495d3be5830d74e9135595e2b8ddbfe95c448d8597fbd6f diff --git a/dev-libs/libffi/libffi-3.3_rc0.ebuild b/dev-libs/libffi/libffi-3.3_rc0.ebuild deleted file mode 100644 index 3ddac01cf742..000000000000 --- a/dev-libs/libffi/libffi-3.3_rc0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit multilib multilib-minimal toolchain-funcs - -MY_PV=${PV/_rc/-rc} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="a portable, high level programming interface to various calling conventions" -HOMEPAGE="https://sourceware.org/libffi/" -SRC_URI="https://github.com/libffi/libffi/releases/download/v${MY_PV}/${MY_P}.tar.gz" - -LICENSE="MIT" -SLOT="0/7" # SONAME=libffi.so.7 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 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" -IUSE="debug pax_kernel static-libs test" - -RESTRICT="!test? ( test )" - -RDEPEND="" -DEPEND="" -BDEPEND="test? ( dev-util/dejagnu )" - -DOCS="ChangeLog* README.md" - -PATCHES=( - "${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044 - "${FILESDIR}"/${PN}-3.3_rc0-hppa-no-TEXTREL.patch - "${FILESDIR}"/${PN}-3.3_rc0-ppc-macos-go.patch -) - -S=${WORKDIR}/${MY_P} - -ECONF_SOURCE=${S} - -pkg_setup() { - # Check for orphaned libffi, see https://bugs.gentoo.org/354903 for example - if [[ ${ROOT} == "/" && ${EPREFIX} == "" ]] && ! has_version ${CATEGORY}/${PN}; then - local base="${T}"/conftest - echo 'int main() { }' > "${base}".c - $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null - if [ $? -eq 0 ]; then - eerror "The linker reported linking against -lffi to be working while it shouldn't have." - eerror "This is wrong and you should find and delete the old copy of libffi before continuing." - die "The system is in inconsistent state with unknown libffi installed." - fi - fi -} - -multilib_src_configure() { - use userland_BSD && export HOST="${CHOST}" - econf \ - --includedir="${EPREFIX}"/usr/$(get_libdir)/${P}/include \ - --disable-multi-os-directory \ - $(use_enable static-libs static) \ - $(use_enable pax_kernel pax_emutramp) \ - $(use_enable debug) -} - -multilib_src_install_all() { - find "${ED}" -name "*.la" -delete || die - einstalldocs -} -- 2.26.2