MAKEOPTS="-j1 VERSION=${PV}" use ocamlopt || MAKEOPTS="${MAKEOPTS} TARGETS=flashdot_bytecode BYTECODENAME=flashdot" 'use' is disallowed in global scope, so this needs to go into phase. Furthermore, please don't use or alter MAKEOPTS. Instead, pass your own custom variable.
commit 5c5d388cd7a9888abe57ea54570fb11ee71acc50 Author: Justin Lecher <jlec@gentoo.org> Date: Mon Nov 23 11:35:19 2015 +0100 sci-misc/flashdot: Move use() call to local scope bump EAPI to 5 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566554 Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org> https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5d388cd7a9888abe57ea54570fb11ee71acc50