summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-05 09:38:23 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-05 09:38:58 +0000
commit3e396d2b57d76c1025491c8313859e59778f65e8 (patch)
treed35862920da5dd49c8396def2ae8ead66d80fe26 /dev-lang/ocaml/ocaml-4.09.0.ebuild
parentapp-text/gspell: remove old (diff)
downloadgentoo-3e396d2b57d76c1025491c8313859e59778f65e8.tar.gz
gentoo-3e396d2b57d76c1025491c8313859e59778f65e8.tar.bz2
gentoo-3e396d2b57d76c1025491c8313859e59778f65e8.zip
dev-lang/ocaml: tweak for gcc-10
Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/ocaml/ocaml-4.09.0.ebuild')
-rw-r--r--dev-lang/ocaml/ocaml-4.09.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lang/ocaml/ocaml-4.09.0.ebuild b/dev-lang/ocaml/ocaml-4.09.0.ebuild
index c39cc2aee83d..5fb59fc6617a 100644
--- a/dev-lang/ocaml/ocaml-4.09.0.ebuild
+++ b/dev-lang/ocaml/ocaml-4.09.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,6 +19,8 @@ BDEPEND="${RDEPEND}
PDEPEND="emacs? ( app-emacs/ocaml-mode )
xemacs? ( app-xemacs/ocaml )"
+PATCHES=("${FILESDIR}"/${PN}-4.09.0-gcc-10.patch)
+
src_prepare() {
default
# Upstream build ignores LDFLAGS in several places.