Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libffi: libffi-3.0.10.ebuild ChangeLog
Date: Mon, 29 Aug 2011 17:40:41
Message-Id: 20110829174029.6BEE12004C@flycatcher.gentoo.org
1 flameeyes 11/08/29 17:40:29
2
3 Modified: ChangeLog
4 Added: libffi-3.0.10.ebuild
5 Log:
6 Version bump to 3.0.10 final (interix patch not necessary). Somehow this lowers, rather than increase, the soversion.
7
8 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.125 dev-libs/libffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.125&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?rev=1.125&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/ChangeLog?r1=1.124&r2=1.125
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v
20 retrieving revision 1.124
21 retrieving revision 1.125
22 diff -u -r1.124 -r1.125
23 --- ChangeLog 21 May 2011 18:42:36 -0000 1.124
24 +++ ChangeLog 29 Aug 2011 17:40:29 -0000 1.125
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/libffi
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.124 2011/05/21 18:42:36 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.125 2011/08/29 17:40:29 flameeyes Exp $
30 +
31 +*libffi-3.0.10 (29 Aug 2011)
32 +
33 + 29 Aug 2011; Diego E. Pettenò <flameeyes@g.o> +libffi-3.0.10.ebuild:
34 + Version bump to 3.0.10 final (interix patch not necessary). Somehow this
35 + lowers, rather than increase, the soversion.
36
37 21 May 2011; Naohiro Aota <naota@g.o> libffi-3.0.10_rc8.ebuild:
38 Fix build failure bug #363275 on BSD
39
40
41
42 1.1 dev-libs/libffi/libffi-3.0.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/libffi-3.0.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libffi-3.0.10.ebuild
48 ===================================================================
49 # Copyright 1999-2011 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.10.ebuild,v 1.1 2011/08/29 17:40:29 flameeyes Exp $
52
53 EAPI=2
54
55 MY_P=${P/_}
56
57 inherit libtool toolchain-funcs eutils
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 pkg_setup() {
74 # Detect and document broken installation of sys-devel/gcc in the build.log wrt #354903
75 if ! has_version dev-libs/libffi; then
76 local base="${T}/conftest"
77 echo 'int main() { }' > "${base}.c"
78 $(tc-getCC) -o "${base}" "${base}.c" -lffi >&/dev/null && \
79 ewarn "Found a copy of second libffi in your system. Uninstall it before continuing."
80 fi
81 }
82
83 src_prepare() {
84 elibtoolize
85 }
86
87 src_configure() {
88 use userland_BSD && export HOST="${CHOST}"
89 econf \
90 --disable-dependency-tracking \
91 $(use_enable static-libs static) \
92 $(use_enable debug)
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die
97 dodoc ChangeLog* README
98 find "${D}" -name '*.la' -exec rm -f {} +
99 }