summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2011-11-03 09:24:52 +0000
committerAkinori Hattori <hattya@gentoo.org>2011-11-03 09:24:52 +0000
commit7279c1649ffc718de5cf1a50492211e6f9577512 (patch)
tree345c399f0bf02db76bfe8069ac22295aa8ed5c9b
parentAdd ~x86-fbsd KEYWORD. (diff)
downloadgentoo-2-7279c1649ffc718de5cf1a50492211e6f9577512.tar.gz
gentoo-2-7279c1649ffc718de5cf1a50492211e6f9577512.tar.bz2
gentoo-2-7279c1649ffc718de5cf1a50492211e6f9577512.zip
update to EAPI 4.
(Portage version: 2.1.10.11/cvs/Linux i686)
-rw-r--r--dev-scheme/gauche-qdbm/ChangeLog8
-rw-r--r--dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gpd.diff5
-rw-r--r--dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild39
3 files changed, 23 insertions, 29 deletions
diff --git a/dev-scheme/gauche-qdbm/ChangeLog b/dev-scheme/gauche-qdbm/ChangeLog
index 755aa9f5e599..e6b64c088165 100644
--- a/dev-scheme/gauche-qdbm/ChangeLog
+++ b/dev-scheme/gauche-qdbm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-scheme/gauche-qdbm
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-qdbm/ChangeLog,v 1.6 2008/06/19 15:29:46 hattya Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-qdbm/ChangeLog,v 1.7 2011/11/03 09:24:52 hattya Exp $
+
+ 03 Nov 2011; Akinori Hattori <hattya@gentoo.org> gauche-qdbm-0.2.ebuild,
+ files/gauche-qdbm-0.2-gpd.diff:
+ update to EAPI 4.
19 Jun 2008; Akinori Hattori <hattya@gentoo.org> gauche-qdbm-0.2.ebuild:
fixes bug #226565.
diff --git a/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gpd.diff b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gpd.diff
index be78595e9911..9bfb09377f13 100644
--- a/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gpd.diff
+++ b/dev-scheme/gauche-qdbm/files/gauche-qdbm-0.2-gpd.diff
@@ -1,6 +1,5 @@
-diff -u Gauche-qdbm-0.2.orig/configure.ac Gauche-qdbm-0.2/configure.ac
---- Gauche-qdbm-0.2.orig/configure.ac 2003-11-28 11:10:53.000000000 +0900
-+++ Gauche-qdbm-0.2/configure.ac 2004-07-26 22:00:14.613351776 +0900
+--- Gauche-qdbm-0.2.orig/configure.ac
++++ Gauche-qdbm-0.2/configure.ac
@@ -17,6 +17,7 @@
AC_GAUCHE_FIX_LIBS
diff --git a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild
index 39efa14992e5..11d865ac2949 100644
--- a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild
+++ b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild,v 1.6 2008/06/19 15:29:46 hattya Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche-qdbm/gauche-qdbm-0.2.ebuild,v 1.7 2011/11/03 09:24:52 hattya Exp $
-inherit autotools eutils
+EAPI="4"
-IUSE=""
+inherit autotools eutils
MY_P="${P/g/G}"
@@ -13,33 +13,24 @@ HOMEPAGE="http://sourceforge.jp/projects/gauche/"
SRC_URI="mirror://sourceforge.jp/gauche/6988/${MY_P}.tar.gz"
LICENSE="BSD"
-KEYWORDS="~sparc x86"
SLOT="0"
-S="${WORKDIR}/${MY_P}"
+KEYWORDS="~sparc x86"
+IUSE=""
-DEPEND="dev-scheme/gauche
+RDEPEND="dev-scheme/gauche
dev-db/qdbm"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
-
- if has_version '>=dev-scheme/gauche-0.8'; then
- epatch "${FILESDIR}"/${P}-gpd.diff
- eautoreconf
- fi
-
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gpd.diff
+ eautoreconf
}
src_install() {
-
- emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install
dodoc README
- if has_version '>=dev-scheme/gauche-0.8'; then
- insinto $(gauche-config --sitelibdir)/.packages
- doins ${MY_P%-*}.gpd
- fi
-
+ insinto "$(gauche-config --sitelibdir)"/.packages
+ doins ${MY_P%-*}.gpd
}