community/openjdk8-{corretto,loongarch}: add java-{cacerts,common} to makedepends when not cross-compiling

this ensures that while bootstrapping a new Alpine stable
release, when the builder starts complaining about not
finding openjdk8-bootstrap, build order resolution
would've caused these 2 makedepends to be built

refs:
cfafa40610
383a4f5179
This commit is contained in:
Celeste 2024-09-13 05:22:07 +00:00
parent 092384e13e
commit dd537c96bd
2 changed files with 12 additions and 0 deletions

View File

@ -42,6 +42,12 @@ makedepends_host="
libxtst-dev
linux-headers
"
[ "$CBUILD" = "$CTARGET" ] && makedepends="
$makedepends_build
$makedepends_host
java-cacerts
java-common
"
subpackages="
$pkgname-demos
$pkgname-doc

View File

@ -40,6 +40,12 @@ makedepends_host="
linux-headers
zlib-dev
"
[ "$CBUILD" = "$CTARGET" ] && makedepends="
$makedepends_build
$makedepends_host
java-cacerts
java-common
"
subpackages="
$pkgname-demos
$pkgname-doc