diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-09-30 08:34:26 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-09-30 08:34:26 +0200 |
commit | 0b9dcc61d14a0aa108673128ceaaea616f2d8d61 (patch) | |
tree | 2a567bf6a97fb7eff15df83b2ea1282deeff3967 /dev-ml/labltk | |
parent | dev-python/jsonschema: Bump to 4.0.0 (diff) | |
download | gentoo-0b9dcc61d14a0aa108673128ceaaea616f2d8d61.tar.gz gentoo-0b9dcc61d14a0aa108673128ceaaea616f2d8d61.tar.bz2 gentoo-0b9dcc61d14a0aa108673128ceaaea616f2d8d61.zip |
dev-ml/labltk: fix build with ocaml-4.12
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/labltk')
-rw-r--r-- | dev-ml/labltk/labltk-8.06.10.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-ml/labltk/labltk-8.06.10.ebuild b/dev-ml/labltk/labltk-8.06.10.ebuild index 6acd06b500f4..3390c7d7b988 100644 --- a/dev-ml/labltk/labltk-8.06.10.ebuild +++ b/dev-ml/labltk/labltk-8.06.10.ebuild @@ -22,9 +22,14 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/findlib.patch" - "${FILESDIR}"/${P}-this-expression-has-type.patch ) +src_prepare() { + has_version "dev-lang/ocaml:0/4.11" && \ + eapply "${FILESDIR}"/${P}-this-expression-has-type.patch + default +} + src_configure() { ./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!" } |