summaryrefslogtreecommitdiff
path: root/user/grub/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-04-25 23:13:07 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-04-25 23:13:07 -0500
commitd33c15fce1bebb00c666f707ca6577a95ababa0b (patch)
tree8ac435f15e9802b583d803ba6e55e4ace5e290b6 /user/grub/APKBUILD
parent8b4c8e990191e7146a7691d66835d8a3ed3af30e (diff)
downloadpackages-d33c15fce1bebb00c666f707ca6577a95ababa0b.tar.gz
packages-d33c15fce1bebb00c666f707ca6577a95ababa0b.tar.bz2
packages-d33c15fce1bebb00c666f707ca6577a95ababa0b.tar.xz
packages-d33c15fce1bebb00c666f707ca6577a95ababa0b.zip
user/grub: Fix dependencies on PowerPC targets
The variable is $CTARGET_ARCH, not $CTARGETARCH. Reported numerously on IRC and Telegram, but not in GitLab.
Diffstat (limited to 'user/grub/APKBUILD')
-rw-r--r--user/grub/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/user/grub/APKBUILD b/user/grub/APKBUILD
index 4c9c8093f..82605a4c9 100644
--- a/user/grub/APKBUILD
+++ b/user/grub/APKBUILD
@@ -3,7 +3,7 @@
pkgname=grub
pkgver=2.12_rc1
_pkgver=$(printf '%s' "$pkgver" | tr _ \~)
-pkgrel=1
+pkgrel=2
pkgdesc="Boot loader with support for Linux, Multiboot and more"
url="https://www.gnu.org/software/grub/"
arch="all"
@@ -169,7 +169,7 @@ xenhost() {
ieee1275() {
pkgdesc="$pkgdesc (IEEE-1275 OpenFirmware version)"
- case $CTARGETARCH in
+ case $CTARGET_ARCH in
ppc*) depends="$pkgname powerpc-utils"
esac
mkdir -p "$subpkgdir"/usr/lib/grub