summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2016-11-29 19:14:15 +0900
committerAkinori Hattori <hattya@gentoo.org>2016-11-29 19:14:15 +0900
commitf2c93e4efa96c731132e562e9ba49e4dd0693c00 (patch)
treecdb31b863678453ff5a9092d811611c397f87363 /dev-scheme
parentros-meta/ros_control: Bump to 0.11.2. (diff)
downloadgentoo-f2c93e4efa96c731132e562e9ba49e4dd0693c00.tar.gz
gentoo-f2c93e4efa96c731132e562e9ba49e4dd0693c00.tar.bz2
gentoo-f2c93e4efa96c731132e562e9ba49e4dd0693c00.zip
dev-scheme/gauche: fix build
Gentoo-Bug: 600990 Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/gauche/gauche-0.9.3.3.ebuild17
-rw-r--r--dev-scheme/gauche/gauche-0.9.4-r1.ebuild15
2 files changed, 19 insertions, 13 deletions
diff --git a/dev-scheme/gauche/gauche-0.9.3.3.ebuild b/dev-scheme/gauche/gauche-0.9.3.3.ebuild
index d46bc131925d..675346cb330c 100644
--- a/dev-scheme/gauche/gauche-0.9.3.3.ebuild
+++ b/dev-scheme/gauche/gauche-0.9.3.3.ebuild
@@ -22,14 +22,17 @@ DEPEND="${RDEPEND}
test? ( dev-libs/openssl )"
S="${WORKDIR}/${MY_P}"
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9-rpath.patch
- epatch "${FILESDIR}"/${PN}-0.9-gauche.m4.patch
- epatch "${FILESDIR}"/${PN}-0.9-ext-ldflags.patch
- epatch "${FILESDIR}"/${PN}-0.9-xz-info.patch
- epatch "${FILESDIR}"/${PN}-0.9-rfc.tls.patch
- epatch "${FILESDIR}"/${P}-gauche.threads.patch
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9-rpath.patch
+ "${FILESDIR}"/${PN}-0.9-gauche.m4.patch
+ "${FILESDIR}"/${PN}-0.9-ext-ldflags.patch
+ "${FILESDIR}"/${PN}-0.9-xz-info.patch
+ "${FILESDIR}"/${PN}-0.9-rfc.tls.patch
+ "${FILESDIR}"/${P}-gauche.threads.patch
+)
+src_prepare() {
+ default
eautoconf
}
diff --git a/dev-scheme/gauche/gauche-0.9.4-r1.ebuild b/dev-scheme/gauche/gauche-0.9.4-r1.ebuild
index f35e53d27927..b7e35b00b190 100644
--- a/dev-scheme/gauche/gauche-0.9.4-r1.ebuild
+++ b/dev-scheme/gauche/gauche-0.9.4-r1.ebuild
@@ -25,16 +25,19 @@ DEPEND="${RDEPEND}
)"
S="${WORKDIR}/${MY_P}"
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9-rpath.patch
- epatch "${FILESDIR}"/${PN}-0.9-gauche.m4.patch
- epatch "${FILESDIR}"/${PN}-0.9-ext-ldflags.patch
- epatch "${FILESDIR}"/${PN}-0.9-xz-info.patch
- epatch "${FILESDIR}"/${PN}-0.9-rfc.tls.patch
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.9-rpath.patch
+ "${FILESDIR}"/${PN}-0.9-gauche.m4.patch
+ "${FILESDIR}"/${PN}-0.9-ext-ldflags.patch
+ "${FILESDIR}"/${PN}-0.9-xz-info.patch
+ "${FILESDIR}"/${PN}-0.9-rfc.tls.patch
+)
+src_prepare() {
mv gc/src/*.[Ss] gc || die
sed -i "/^EXTRA_libgc_la_SOURCES/s|src/||g" gc/Makefile.am
+ default
eautoconf
}