www-apps/misskey: fix javascript depends
This commit is contained in:
parent
31536ae13d
commit
9e429f3edb
@ -36,10 +36,12 @@ REQUIRED_USE="savedconfig"
|
||||
RESTRICT="strip network-sandbox"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=net-libs/nodejs-18.16:=
|
||||
|| (
|
||||
>=net-libs/nodejs-20.5.0[corepack]
|
||||
<net-libs/nodejs-20.5.0
|
||||
>=net-libs/nodejs-20.4.0:=[corepack]
|
||||
(
|
||||
>=net-libs/nodejs-20.4.0:=[npm]
|
||||
sys-apps/pnpm-bin
|
||||
)
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
@ -64,7 +66,7 @@ QA_PREBUILT="
|
||||
pkg_setup() {
|
||||
# check if pnpm from nodejs is installed
|
||||
if ! type pnpm > /dev/null 2>&1; then
|
||||
eerror "pnpm not found. It can be installed with 'corepack enable'"
|
||||
eerror "pnpm not found. if you have nodejs[npm] installed, you have to symlink pnpm-bin to pnpm yourself"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user