summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-15 18:03:53 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-15 18:09:12 +0900
commita0d3bf1fd9ef6077acc8a6097613f5277ccb7f73 (patch)
treef96d80493270aef845afbfe71ead516688bacac4 /dev-scheme/gauche-cdb
parentdev-scheme/gauche-cdb: keyword amd64 (diff)
downloadgentoo-a0d3bf1fd9ef6077acc8a6097613f5277ccb7f73.tar.gz
gentoo-a0d3bf1fd9ef6077acc8a6097613f5277ccb7f73.tar.bz2
gentoo-a0d3bf1fd9ef6077acc8a6097613f5277ccb7f73.zip
dev-scheme/gauche-cdb: update to EAPI 6
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme/gauche-cdb')
-rw-r--r--dev-scheme/gauche-cdb/gauche-cdb-0.3.1-r1.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/dev-scheme/gauche-cdb/gauche-cdb-0.3.1-r1.ebuild b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1-r1.ebuild
index b70d34302bbc..1fc2a6ee1380 100644
--- a/dev-scheme/gauche-cdb/gauche-cdb-0.3.1-r1.ebuild
+++ b/dev-scheme/gauche-cdb/gauche-cdb-0.3.1-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="CDB binding for Gauche"
HOMEPAGE="http://sourceforge.jp/projects/gauche/"
-SRC_URI="mirror://sourceforge.jp/gauche/8407/${MY_P}.tar.gz"
+SRC_URI="mirror://sourceforge.jp/${PN%-*}/8407/${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
}