diff --git a/sci-ml/tokenizers/tokenizers-0.21.1.ebuild b/sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild similarity index 99% rename from sci-ml/tokenizers/tokenizers-0.21.1.ebuild rename to sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild index 3861fbf55811c..9204092969455 100644 --- a/sci-ml/tokenizers/tokenizers-0.21.1.ebuild +++ b/sci-ml/tokenizers/tokenizers-0.21.1-r1.ebuild @@ -349,6 +349,7 @@ LICENSE+=" SLOT="0" KEYWORDS="~amd64" +RDEPEND="dev-libs/oniguruma" BDEPEND=" test? ( sci-ml/datasets[${PYTHON_SINGLE_USEDEP}] ) $(python_gen_cond_dep ' @@ -384,6 +385,7 @@ src_configure() { } src_compile() { + export RUSTONIG_SYSTEM_LIBONIG=1 cd tokenizers cargo_src_compile cd ../bindings/python