summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2014-12-14 10:09:37 +0000
committerMark Wright <gienah@gentoo.org>2014-12-14 10:09:37 +0000
commitf0e4c63688c17c5be0bf853c8a639725336ed033 (patch)
tree6ea47be52f98c522fed3b2353af00475544ebd24 /dev-lang/epic
parentCleanup. (diff)
downloadgentoo-2-f0e4c63688c17c5be0bf853c8a639725336ed033.tar.gz
gentoo-2-f0e4c63688c17c5be0bf853c8a639725336ed033.tar.bz2
gentoo-2-f0e4c63688c17c5be0bf853c8a639725336ed033.zip
Bump epic to 0.9.3.2. Thanks to Michael Orlitzky <mjo@gentoo.org> for the patch to respect CFLAGS
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-lang/epic')
-rw-r--r--dev-lang/epic/ChangeLog11
-rw-r--r--dev-lang/epic/epic-0.9.3.2.ebuild33
-rw-r--r--dev-lang/epic/files/respect-user-cflags.patch13
3 files changed, 55 insertions, 2 deletions
diff --git a/dev-lang/epic/ChangeLog b/dev-lang/epic/ChangeLog
index 35bb043399a9..392ade96bb0d 100644
--- a/dev-lang/epic/ChangeLog
+++ b/dev-lang/epic/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-lang/epic
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/epic/ChangeLog,v 1.5 2012/11/18 06:53:41 gienah Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/epic/ChangeLog,v 1.6 2014/12/14 10:09:37 gienah Exp $
+
+*epic-0.9.3.2 (14 Dec 2014)
+
+ 14 Dec 2014; Mark Wright <gienah@gentoo.org> +epic-0.9.3.2.ebuild,
+ +files/respect-user-cflags.patch:
+ Bump epic to 0.9.3.2. Thanks to Michael Orlitzky <mjo@gentoo.org> for the
+ patch to respect CFLAGS
18 Nov 2012; Mark Wright <gienah@gentoo.org> +files/epic-0.9.3-ghc-7.6.patch,
epic-0.9.3.ebuild:
diff --git a/dev-lang/epic/epic-0.9.3.2.ebuild b/dev-lang/epic/epic-0.9.3.2.ebuild
new file mode 100644
index 000000000000..74cac6af5a8e
--- /dev/null
+++ b/dev-lang/epic/epic-0.9.3.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/epic/epic-0.9.3.2.ebuild,v 1.1 2014/12/14 10:09:37 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit eutils haskell-cabal
+
+DESCRIPTION="Compiler for a simple functional language"
+HOMEPAGE="http://www.dcs.st-and.ac.uk/~eb/epic.php"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/cabal:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-libs/boehm-gc-7.0[threads]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8.0.4
+"
+
+src_prepare() {
+ # Bug #438422, upstream at https://github.com/edwinb/EpiVM/issues/5.
+ epatch "${FILESDIR}"/respect-user-cflags.patch
+}
diff --git a/dev-lang/epic/files/respect-user-cflags.patch b/dev-lang/epic/files/respect-user-cflags.patch
new file mode 100644
index 000000000000..eedfd253afec
--- /dev/null
+++ b/dev-lang/epic/files/respect-user-cflags.patch
@@ -0,0 +1,13 @@
+diff --git a/evm/Makefile b/evm/Makefile
+index 7e6c5ff..f40f1a4 100644
+--- a/evm/Makefile
++++ b/evm/Makefile
+@@ -1,6 +1,7 @@
+ CC = gcc
+ #CFLAGS = -Wall -g -DUSE_BOEHM
+-CFLAGS = -Wall -O3 -DUSE_BOEHM
++CFLAGS ?= -Wall -O3
++CFLAGS += -DUSE_BOEHM
+ OBJS = closure.o stdfuns.o emalloc.o sparks.o
+ INSTALLDIR = ${PREFIX}/lib/evm
+