diff options
-rw-r--r-- | dev-libs/libffi/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libffi/files/libffi-3.0.9_rc4-revert_includedir.patch | 16 | ||||
-rw-r--r-- | dev-libs/libffi/libffi-3.0.9_rc4.ebuild | 41 |
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog index 7fbf25ce8df9..44a2b8b878d6 100644 --- a/dev-libs/libffi/ChangeLog +++ b/dev-libs/libffi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libffi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.88 2009/12/20 16:16:31 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.89 2009/12/24 10:05:32 ssuominen Exp $ + +*libffi-3.0.9_rc4 (24 Dec 2009) + + 24 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> + +libffi-3.0.9_rc4.ebuild, +files/libffi-3.0.9_rc4-revert_includedir.patch: + Version bump. 20 Dec 2009; Raúl Porcel <armin76@gentoo.org> libffi-3.0.8.ebuild: m68k stable diff --git a/dev-libs/libffi/files/libffi-3.0.9_rc4-revert_includedir.patch b/dev-libs/libffi/files/libffi-3.0.9_rc4-revert_includedir.patch new file mode 100644 index 000000000000..73040754e356 --- /dev/null +++ b/dev-libs/libffi/files/libffi-3.0.9_rc4-revert_includedir.patch @@ -0,0 +1,16 @@ +Revert change between 3.0.9rc3 and 3.0.9rc4 for pkg-config --cflags-only-I to +return correct path and to avoid gcc's directory. + +--- include/Makefile.am ++++ include/Makefile.am +@@ -5,8 +5,5 @@ + DISTCLEANFILES=ffitarget.h + EXTRA_DIST=ffi.h.in ffi_common.h + +-# Where generated headers like ffitarget.h get installed. +-gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER) +-toollibffidir := $(libdir)/gcc/$(target_alias)/$(gcc_version)/include +- +-toollibffi_HEADERS = ffi.h ffitarget.h ++includesdir = $(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include ++nodist_includes_HEADERS = ffi.h ffitarget.h diff --git a/dev-libs/libffi/libffi-3.0.9_rc4.ebuild b/dev-libs/libffi/libffi-3.0.9_rc4.ebuild new file mode 100644 index 000000000000..af8a63414494 --- /dev/null +++ b/dev-libs/libffi/libffi-3.0.9_rc4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.9_rc4.ebuild,v 1.1 2009/12/24 10:05:32 ssuominen Exp $ + +inherit autotools eutils + +DESCRIPTION="a portable, high level programming interface to various calling conventions." +HOMEPAGE="http://sourceware.org/libffi/" +SRC_URI="ftp://sources.redhat.com/pub/${PN}/${P/_}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="debug static-libs test" + +RDEPEND="" +DEPEND="test? ( dev-util/dejagnu )" + +S=${WORKDIR}/${P/_} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e '/ACLOCAL_AMFLAGS/d' Makefile.am || die + epatch "${FILESDIR}"/${P}-revert_includedir.patch \ + "${FILESDIR}"/libffi-3.0.8-autoconf-2.64.patch + eautoreconf +} + +src_compile() { + econf \ + --disable-dependency-tracking \ + $(use_enable static-libs static) \ + $(use_enable debug) + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog* README +} |