summaryrefslogtreecommitdiff
path: root/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-02-22 00:55:02 +0000
committerSam James <sam@gentoo.org>2022-02-22 00:55:41 +0000
commitbbbbbaf24b7ec12927d0ac7e2b853cccec4e28fe (patch)
tree63573e96a3a61f68e5c9367c8eb273100673cc2c /dev-lang/ocaml/ocaml-4.10.2-r3.ebuild
parentb25f82e790bbcf0f05f434212958ae2e192df08e (diff)
downloadgentoo-bbbbbaf24b7ec12927d0ac7e2b853cccec4e28fe.tar.gz
gentoo-bbbbbaf24b7ec12927d0ac7e2b853cccec4e28fe.tar.bz2
gentoo-bbbbbaf24b7ec12927d0ac7e2b853cccec4e28fe.zip
dev-lang/ocaml: use tarball for 4.05/4.09/4.10 patches
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ocaml/ocaml-4.10.2-r3.ebuild')
-rw-r--r--dev-lang/ocaml/ocaml-4.10.2-r3.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild b/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild
index b298bea0d51b..b0b37115a35c 100644
--- a/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild
+++ b/dev-lang/ocaml/ocaml-4.10.2-r3.ebuild
@@ -5,9 +5,10 @@ EAPI=7
inherit flag-o-matic
-HOMEPAGE="https://ocaml.org/"
-SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
+HOMEPAGE="https://ocaml.org/"
+SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches-1.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0/$(ver_cut 1-2)"
@@ -24,8 +25,7 @@ PDEPEND="emacs? ( app-emacs/ocaml-mode )
QA_FLAGS_IGNORED='usr/lib.*/ocaml/bigarray.cmxs'
PATCHES=(
- "${FILESDIR}"/${P}-cflags.patch
- "${FILESDIR}"/${P}-glibc-2.34.patch
+ "${WORKDIR}"/${P}-patches-1/
)
src_prepare() {
@@ -64,7 +64,8 @@ src_configure() {
$(use_enable flambda)
$(use_enable spacetime)
)
- econf ${opt[@]}
+
+ econf "${opt[@]}"
}
src_compile() {