summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/coq/coq-8.5.ebuild')
-rw-r--r--sci-mathematics/coq/coq-8.5.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/sci-mathematics/coq/coq-8.5.ebuild b/sci-mathematics/coq/coq-8.5.ebuild
index 1dffb390cc78..040cc88a8944 100644
--- a/sci-mathematics/coq/coq-8.5.ebuild
+++ b/sci-mathematics/coq/coq-8.5.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=5
inherit eutils multilib
@@ -15,7 +15,7 @@ SRC_URI="http://${PN}.inria.fr/distrib/V${MY_PV}/files/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ppc x86"
IUSE="gtk debug +ocamlopt doc camlp5"
RDEPEND="
@@ -23,6 +23,7 @@ RDEPEND="
camlp5? ( >=dev-ml/camlp5-6.02.3:=[ocamlopt?] )
!camlp5? ( dev-ml/camlp4:= )
gtk? ( >=dev-ml/lablgtk-2.10.1:=[sourceview,ocamlopt?] )"
+
DEPEND="${RDEPEND}
doc? (
media-libs/netpbm[png,zlib]
@@ -34,11 +35,15 @@ DEPEND="${RDEPEND}
dev-texlive/texlive-latexextra
)"
-S=${WORKDIR}/${MY_P}
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch"
+ "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch"
+)
src_prepare() {
- epatch "${FILESDIR}/${PN}-8.5-do-not-install-revision.patch"
- epatch "${FILESDIR}/${PN}-8.4_p5-no-clean-before-test.patch"
+ epatch "${PATCHES[@]}"
}
src_configure() {