diff options
author | Tomás Touceda <chiiph@gentoo.org> | 2010-10-06 19:32:42 +0000 |
---|---|---|
committer | Tomás Touceda <chiiph@gentoo.org> | 2010-10-06 19:32:42 +0000 |
commit | 059e8d07793e9220064e51eefd0d52f684c6e7f1 (patch) | |
tree | ff869be5f62276e2d5763e328778113b2183b903 /dev-scheme/gauche | |
parent | Masking pecl-apc-3.1.4-r1 for testing (diff) | |
download | gentoo-2-059e8d07793e9220064e51eefd0d52f684c6e7f1.tar.gz gentoo-2-059e8d07793e9220064e51eefd0d52f684c6e7f1.tar.bz2 gentoo-2-059e8d07793e9220064e51eefd0d52f684c6e7f1.zip |
Port 0.9 to EAPI 3 and fix it to respect LDFLAGS
(Portage version: 2.2_rc88/cvs/Linux i686)
Diffstat (limited to 'dev-scheme/gauche')
-rw-r--r-- | dev-scheme/gauche/ChangeLog | 10 | ||||
-rw-r--r-- | dev-scheme/gauche/gauche-0.9-r1.ebuild (renamed from dev-scheme/gauche/gauche-0.9.ebuild) | 39 |
2 files changed, 24 insertions, 25 deletions
diff --git a/dev-scheme/gauche/ChangeLog b/dev-scheme/gauche/ChangeLog index 0c40528249e3..a2ac838c6156 100644 --- a/dev-scheme/gauche/ChangeLog +++ b/dev-scheme/gauche/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-scheme/gauche -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/ChangeLog,v 1.22 2009/12/25 13:23:11 hattya Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/ChangeLog,v 1.23 2010/10/06 19:32:42 chiiph Exp $ + +*gauche-0.9-r1 (06 Oct 2010) + + 06 Oct 2010; Tomas Touceda <chiiph@gentoo.org> -gauche-0.9.ebuild, + +gauche-0.9-r1.ebuild: + Port 0.9 to EAPI 3 and fix it to respect LDFLAGS *gauche-0.9 (25 Dec 2009) diff --git a/dev-scheme/gauche/gauche-0.9.ebuild b/dev-scheme/gauche/gauche-0.9-r1.ebuild index 30ece02690c7..3af5b2d8e346 100644 --- a/dev-scheme/gauche/gauche-0.9.ebuild +++ b/dev-scheme/gauche/gauche-0.9-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/gauche-0.9.ebuild,v 1.1 2009/12/25 13:23:11 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/gauche-0.9-r1.ebuild,v 1.1 2010/10/06 19:32:42 chiiph Exp $ + +EAPI="3" inherit autotools eutils flag-o-matic @@ -9,7 +11,7 @@ IUSE="ipv6" MY_P="${P/g/G}" DESCRIPTION="A Unix system friendly Scheme Interpreter" -HOMEPAGE="http://gauche.sf.net/" +HOMEPAGE="http://practical-scheme.net/gauche/" SRC_URI="mirror://sourceforge/gauche/${MY_P}.tgz" LICENSE="BSD" @@ -18,40 +20,31 @@ SLOT="0" S="${WORKDIR}/${MY_P}" DEPEND="sys-libs/gdbm" +RDEPEND="${DEPEND}" -src_unpack() { - - unpack ${A} - cd "${S}" - +src_prepare() { epatch "${FILESDIR}"/${PN}-gauche.m4.diff epatch "${FILESDIR}"/${PN}-runpath.diff eautoconf - } -src_compile() { - - strip-flags - +src_configure() { +# strip-flags econf \ `use_enable ipv6` \ --enable-multibyte=utf8 \ - --with-slib=/usr/share/slib \ - || die - emake -j1 || die + --with-slib=/usr/share/slib +} +src_compile() { + emake -j1 XLDFLAGS="${LDFLAGS}" || die "emake failed" } src_test() { - - emake -j1 -s check || die - + emake -j1 -s check || die "emake check failed" } src_install() { - - emake DESTDIR="${D}" install-pkg install-doc || die - dodoc AUTHORS ChangeLog HACKING README - + emake DESTDIR="${D}" install-pkg install-doc || die "emake install failed" + dodoc AUTHORS ChangeLog HACKING README || die "dodoc failed" } |