Diff libffi-3.2.1 with a libffi-3.2.1-r1

/usr/portage/dev-libs/libffi/libffi-3.2.1-r1.ebuild 2019-11-06 10:09:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=6
5 5
inherit eutils libtool multilib multilib-minimal toolchain-funcs
6 6

  
7 7
DESCRIPTION="a portable, high level programming interface to various calling conventions"
......
10 10

  
11 11
LICENSE="MIT"
12 12
SLOT="0"
13
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh 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"
13
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~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"
14 14
IUSE="debug pax_kernel static-libs test"
15 15

  
16 16
RESTRICT="!test? ( test )"
......
20 20

  
21 21
DOCS="ChangeLog* README"
22 22

  
23
PATCHES=(
24
	"${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044
25
	"${FILESDIR}"/${PN}-3.2.1-complex_alpha.patch
26
	"${FILESDIR}"/${PN}-3.1-darwin-x32.patch
27
	"${FILESDIR}"/${PN}-3.2.1-complex-ia64.patch
28
	"${FILESDIR}"/${PN}-3.2.1-include-path.patch
29
	"${FILESDIR}"/${PN}-3.2.1-include-path-autogen.patch
30
)
31

  
23 32
ECONF_SOURCE=${S}
24 33

  
25 34
pkg_setup() {
......
37 46
}
38 47

  
39 48
src_prepare() {
49
	default
50

  
40 51
	sed -i -e 's:@toolexeclibdir@:$(libdir):g' Makefile.in || die #462814
41
	epatch "${FILESDIR}"/${PN}-3.2.1-o-tmpfile-eacces.patch #529044
42
	epatch "${FILESDIR}"/${PN}-3.2.1-complex_alpha.patch
43
	epatch "${FILESDIR}"/${PN}-3.1-darwin-x32.patch
44
	epatch "${FILESDIR}"/${PN}-3.2.1-complex-ia64.patch
45
	epatch_user
46 52
	elibtoolize
47 53
}
48 54

  
49 55
multilib_src_configure() {
50 56
	use userland_BSD && export HOST="${CHOST}"
57
	# python does not like miltilib-wrapped headers: bug #643582
58
	# thus we install includes into ABI-specific paths
59
	local includes="${EPREFIX}"/usr/$(get_libdir)/${P}/include/
51 60
	econf \
52 61
		$(use_enable static-libs static) \
53 62
		$(use_enable pax_kernel pax_emutramp) \
54
		$(use_enable debug)
63
		$(use_enable debug) \
64
		--includedir="${includes}"
55 65
}
56 66

  
57 67
multilib_src_install_all() {
Thank you!