summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-15 18:16:31 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-15 18:16:31 +0900
commit19b358409eba7ab4d9029392b7793c9142638fa9 (patch)
tree5fe467bc30f16d17ac35516b31af77de610aeb43 /dev-scheme/gauche-qdbm
parentdev-scheme/gauche-qdbm: keyword ia64 (diff)
downloadgentoo-19b358409eba7ab4d9029392b7793c9142638fa9.tar.gz
gentoo-19b358409eba7ab4d9029392b7793c9142638fa9.tar.bz2
gentoo-19b358409eba7ab4d9029392b7793c9142638fa9.zip
dev-scheme/gauche-qdbm: update to EAPI 6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme/gauche-qdbm')
-rw-r--r--dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild
index debd0ca32b42..131d04f10ab0 100644
--- a/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild
+++ b/dev-scheme/gauche-qdbm/gauche-qdbm-0.2-r1.ebuild
@@ -1,15 +1,15 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI="6"
-inherit autotools eutils
+inherit autotools
-MY_P="${P/g/G}"
+MY_P="${P^g}"
DESCRIPTION="QDBM binding for Gauche"
HOMEPAGE="http://sourceforge.jp/projects/gauche/"
-SRC_URI="mirror://sourceforge.jp/gauche/6988/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge.jp/${PN%-*}/6988/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -21,8 +21,12 @@ RDEPEND="dev-scheme/gauche
DEPEND="${RDEPEND}"
S="${WORKDIR}/${MY_P}"
+PATCHES=(
+ "${FILESDIR}"/${P}-gauche-package.diff
+ "${FILESDIR}"/${P}-undefined-reference.diff
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-gauche-package.diff
- epatch "${FILESDIR}"/${P}-undefined-reference.diff
+ default
eautoreconf
}