Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 459072 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-7 / +8 lines)
Line  Link Here
0
-- dev-libs/libffi/libffi-3.0.12.ebuild
0
++ dev-libs/libffi/libffi-3.0.12-r1.ebuild
Lines 6-12 Link Here
6
6
7
MY_P=${P/_/-}
7
MY_P=${P/_/-}
8
8
9
inherit eutils libtool multilib toolchain-funcs
9
inherit eutils libtool multilib toolchain-funcs multilib-minimal
10
10
11
DESCRIPTION="a portable, high level programming interface to various calling conventions."
11
DESCRIPTION="a portable, high level programming interface to various calling conventions."
12
HOMEPAGE="http://sourceware.org/libffi/"
12
HOMEPAGE="http://sourceware.org/libffi/"
Lines 17-28 Link Here
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18
IUSE="debug pax_kernel static-libs test"
18
IUSE="debug pax_kernel static-libs test"
19
19
20
RDEPEND=""
20
RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224 )"
21
DEPEND="test? ( dev-util/dejagnu )"
21
DEPEND="test? ( dev-util/dejagnu )"
22
22
23
S=${WORKDIR}/${MY_P}
23
S=${WORKDIR}/${MY_P}
24
24
25
DOCS="ChangeLog* README"
25
DOCS=( "${S}"/ChangeLog{,.libffi,.libgcj,.v1} "${S}"/README )
26
27
ECONF_SOURCE=${S}
26
28
27
pkg_setup() {
29
pkg_setup() {
28
	# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example
30
	# Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example
Lines 43-49 Link Here
43
	elibtoolize
45
	elibtoolize
44
}
46
}
45
47
46
src_configure() {
48
multilib_src_configure() {
47
	use userland_BSD && export HOST="${CHOST}"
49
	use userland_BSD && export HOST="${CHOST}"
48
	econf \
50
	econf \
49
		$(use_enable static-libs static) \
51
		$(use_enable static-libs static) \
Lines 51-58 Link Here
51
		$(use_enable debug)
53
		$(use_enable debug)
52
}
54
}
53
55
54
src_install() {
56
multilib_src_install_all() {
55
	default
56
	prune_libtool_files
57
	prune_libtool_files
57
}
58
}
58
59

Return to bug 459072