From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libffi: ChangeLog libffi-3.0.11_rc3.ebuild |
Date: | Fri, 06 Apr 2012 14:56:52 |
Message-Id: | 20120406145642.A46C22004B@flycatcher.gentoo.org |
1 | ssuominen 12/04/06 14:56:42 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libffi-3.0.11_rc3.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha99/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.139 dev-libs/libffi/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.139&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.139&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?r1=1.138&r2=1.139 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v |
20 | retrieving revision 1.138 |
21 | retrieving revision 1.139 |
22 | diff -u -r1.138 -r1.139 |
23 | --- ChangeLog 13 Mar 2012 18:38:10 -0000 1.138 |
24 | +++ ChangeLog 6 Apr 2012 14:56:42 -0000 1.139 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-libs/libffi |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.138 2012/03/13 18:38:10 ssuominen Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.139 2012/04/06 14:56:42 ssuominen Exp $ |
30 | + |
31 | +*libffi-3.0.11_rc3 (06 Apr 2012) |
32 | + |
33 | + 06 Apr 2012; Samuli Suominen <ssuominen@g.o> |
34 | + +libffi-3.0.11_rc3.ebuild: |
35 | + Version bump. |
36 | |
37 | 13 Mar 2012; Samuli Suominen <ssuominen@g.o> libffi-3.0.11_rc2.ebuild, |
38 | +files/libffi-3.0.11_rc2-fix-ppc64-compile.patch: |
39 | |
40 | |
41 | |
42 | 1.1 dev-libs/libffi/libffi-3.0.11_rc3.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc3.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc3.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: libffi-3.0.11_rc3.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.11_rc3.ebuild,v 1.1 2012/04/06 14:56:42 ssuominen Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | MY_P=${P/_/-} |
56 | |
57 | inherit eutils libtool multilib toolchain-funcs |
58 | |
59 | DESCRIPTION="a portable, high level programming interface to various calling conventions." |
60 | HOMEPAGE="http://sourceware.org/libffi/" |
61 | SRC_URI="ftp://sourceware.org/pub/${PN}/${MY_P}.tar.gz" |
62 | |
63 | LICENSE="MIT" |
64 | SLOT="0" |
65 | #KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
66 | IUSE="debug static-libs test" |
67 | |
68 | RDEPEND="" |
69 | DEPEND="test? ( dev-util/dejagnu )" |
70 | |
71 | S=${WORKDIR}/${MY_P} |
72 | |
73 | DOCS="ChangeLog* README" |
74 | |
75 | pkg_setup() { |
76 | # Check for orphaned libffi, see http://bugs.gentoo.org/354903 for example |
77 | if ! has_version ${CATEGORY}/${PN}; then |
78 | local base="${T}"/conftest |
79 | echo 'int main() { }' > "${base}".c |
80 | $(tc-getCC) -o "${base}" "${base}".c -lffi >&/dev/null |
81 | if [ $? -eq = 0 ]; then |
82 | eerror "The linker reported linking against -lffi to be working while it shouldn't have." |
83 | eerror "This is wrong and you should find and delete the old copy of libffi before continuing." |
84 | die "The system is in inconsistent state with unknown libffi installed." |
85 | fi |
86 | fi |
87 | } |
88 | |
89 | src_prepare() { |
90 | elibtoolize |
91 | } |
92 | |
93 | src_configure() { |
94 | use userland_BSD && export HOST="${CHOST}" |
95 | econf \ |
96 | $(use_enable static-libs static) \ |
97 | $(use_enable debug) |
98 | } |
99 | |
100 | src_install() { |
101 | default |
102 | rm -f "${ED}"/usr/lib*/lib*.la |
103 | } |
104 | |
105 | pkg_preinst() { |
106 | preserve_old_lib /usr/$(get_libdir)/${PN}$(get_libname 5) |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | preserve_old_lib_notify /usr/$(get_libdir)/${PN}$(get_libname 5) |
111 | } |