aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/spl/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/spl/APKBUILD b/main/spl/APKBUILD
index 06edbbdcc1..9117318d0e 100644
--- a/main/spl/APKBUILD
+++ b/main/spl/APKBUILD
@@ -6,7 +6,7 @@ pkgver=0.6.5.8
pkgrel=0
pkgdesc="Solaris Porting Layer (userland)"
url="http://zfsonlinux.org"
-arch="x86 x86_64 aarch64"
+arch="x86 x86_64 aarch64 ppc64le"
license="GPL"
depends=""
depends_dev=""
@@ -17,6 +17,14 @@ source="https://github.com/zfsonlinux/zfs/releases/download/zfs-$pkgver/spl-$pkg
builddir="$srcdir"/spl-$pkgver
+prepare() {
+ default_prepare || return 1
+ # Current package version does not contain information about ppc64le on
+ # config.sub.
+ update_config_sub
+ update_config_guess
+}
+
build() {
cd "$builddir"
./configure --prefix=/usr \