summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libffi/ChangeLog5
-rw-r--r--dev-libs/libffi/libffi-3.0.5.ebuild17
2 files changed, 10 insertions, 12 deletions
diff --git a/dev-libs/libffi/ChangeLog b/dev-libs/libffi/ChangeLog
index d739f4df6a03..791b9098f40b 100644
--- a/dev-libs/libffi/ChangeLog
+++ b/dev-libs/libffi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libffi
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.54 2008/06/13 21:52:49 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/ChangeLog,v 1.55 2008/06/29 12:49:08 hkbst Exp $
+
+ 29 Jun 2008; Marijn Schouten <hkBst@gentoo.org> libffi-3.0.5.ebuild:
+ don't patch anymore, move warning to pkg_setup
13 Jun 2008; Samuli Suominen <drac@gentoo.org>
+files/libffi-3.0.5-includedir.patch, libffi-3.0.5.ebuild:
diff --git a/dev-libs/libffi/libffi-3.0.5.ebuild b/dev-libs/libffi/libffi-3.0.5.ebuild
index d8f021e8749a..6b653be6178f 100644
--- a/dev-libs/libffi/libffi-3.0.5.ebuild
+++ b/dev-libs/libffi/libffi-3.0.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.5.ebuild,v 1.4 2008/06/13 21:52:49 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libffi/libffi-3.0.5.ebuild,v 1.5 2008/06/29 12:49:08 hkbst Exp $
-inherit autotools eutils
+inherit eutils
DESCRIPTION="a portable, high level programming interface to various calling conventions."
HOMEPAGE="http://sourceware.org/libffi"
@@ -16,11 +16,10 @@ IUSE="debug test"
DEPEND="test? ( dev-util/dejagnu )"
RDEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-includedir.patch
- eautoreconf
+pkg_setup() {
+ ewarn "This package provides a separate libffi which may conflict with the"
+ ewarn "one provided by sys-devel/gcc when it is built with libffi use flag on."
+ ebeep
}
src_compile() {
@@ -33,7 +32,3 @@ src_install() {
emake DESTDIR="${D}" install || die "emake install failed."
dodoc ChangeLog* README TODO
}
-
-pkg_postinst() {
- elog "This package replaces USE libffi from sys-devel/gcc, please unset it."
-}