summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2014-09-07 03:26:06 +0000
committerAkinori Hattori <hattya@gentoo.org>2014-09-07 03:26:06 +0000
commit748b2f276a3d30d4924af5ec92946629a5dabee5 (patch)
tree1c53647107498335a22a3dd0cb1eae8dfaa5eee3
parentnew upstream release (diff)
downloadgentoo-2-748b2f276a3d30d4924af5ec92946629a5dabee5.tar.gz
gentoo-2-748b2f276a3d30d4924af5ec92946629a5dabee5.tar.bz2
gentoo-2-748b2f276a3d30d4924af5ec92946629a5dabee5.zip
new upstream release
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key EC917A6D)
-rw-r--r--dev-scheme/gauche/ChangeLog10
-rw-r--r--dev-scheme/gauche/files/gauche-gauche.m4.diff14
-rw-r--r--dev-scheme/gauche/gauche-0.9.4.ebuild47
3 files changed, 66 insertions, 5 deletions
diff --git a/dev-scheme/gauche/ChangeLog b/dev-scheme/gauche/ChangeLog
index fc2803d548ae..e843c7138413 100644
--- a/dev-scheme/gauche/ChangeLog
+++ b/dev-scheme/gauche/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-scheme/gauche
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/ChangeLog,v 1.43 2012/07/10 12:49:47 hattya Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/ChangeLog,v 1.44 2014/09/07 03:26:06 hattya Exp $
+
+*gauche-0.9.4 (07 Sep 2014)
+
+ 07 Sep 2014; Akinori Hattori <hattya@gentoo.org> +gauche-0.9.4.ebuild,
+ files/gauche-gauche.m4.diff:
+ new upstream release
10 Jul 2012; Akinori Hattori <hattya@gentoo.org> -gauche-0.9.2.ebuild:
remove old ebuild
diff --git a/dev-scheme/gauche/files/gauche-gauche.m4.diff b/dev-scheme/gauche/files/gauche-gauche.m4.diff
index c4f982d6045e..8c4d3180836a 100644
--- a/dev-scheme/gauche/files/gauche-gauche.m4.diff
+++ b/dev-scheme/gauche/files/gauche-gauche.m4.diff
@@ -1,6 +1,6 @@
---- Gauche-0.8.6.orig/m4/gauche.m4
-+++ Gauche-0.8.6/m4/gauche.m4
-@@ -103,7 +103,7 @@
+--- Gauche-0.9.4.orig/m4/gauche.m4
++++ Gauche-0.9.4/m4/gauche.m4
+@@ -103,15 +103,11 @@
i686-*) I686OPT="-DUSE_I686_PREFETCH";;
esac
case "$CC" in
@@ -9,3 +9,11 @@
case "$target" in
*mingw*) ;;
*) GCCOPT="-fomit-frame-pointer";;
+ esac
+- case "$target" in
+- i586-*) GCCOPT="$GCCOPT -march=i586";;
+- i686-*) GCCOPT="$GCCOPT -march=i686";;
+- esac
+ ;;
+ esac
+ OPTFLAGS="$GCCOPT $I686OPT"
diff --git a/dev-scheme/gauche/gauche-0.9.4.ebuild b/dev-scheme/gauche/gauche-0.9.4.ebuild
new file mode 100644
index 000000000000..24f5307f79bf
--- /dev/null
+++ b/dev-scheme/gauche/gauche-0.9.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/gauche/gauche-0.9.4.ebuild,v 1.1 2014/09/07 03:26:06 hattya Exp $
+
+EAPI="5"
+
+inherit autotools eutils
+
+MY_P="${P^g}"
+
+DESCRIPTION="A Unix system friendly Scheme Interpreter"
+HOMEPAGE="http://practical-scheme.net/gauche/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="ipv6 test"
+
+RDEPEND="sys-libs/gdbm"
+DEPEND="${RDEPEND}
+ test? ( dev-libs/openssl )"
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-rpath.diff
+ epatch "${FILESDIR}"/${PN}-gauche.m4.diff
+ epatch "${FILESDIR}"/${PN}-ext-ldflags.diff
+ epatch "${FILESDIR}"/${PN}-xz-info.diff
+ epatch "${FILESDIR}"/${PN}-rfc.tls.diff
+ eautoconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ --with-slib="${EPREFIX}"/usr/share/slib
+}
+
+src_test() {
+ emake -j1 -s check
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install-pkg install-doc
+ dodoc AUTHORS ChangeLog HACKING README
+}