aboutsummaryrefslogtreecommitdiffstats
path: root/main/spl-vanilla
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-09-25 06:32:36 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-09-25 06:32:36 +0000
commit27809bdf7e7a89f5aabb6f609caafb9bf9c63487 (patch)
tree86c350c3f46933af0c097bff4af3018232782595 /main/spl-vanilla
parent37d9c2ad48d03373c5258e74a34bcc20f5f6f528 (diff)
downloadaports-27809bdf7e7a89f5aabb6f609caafb9bf9c63487.tar.bz2
aports-27809bdf7e7a89f5aabb6f609caafb9bf9c63487.tar.xz
main/spl-vanilla: update config.sub, modernize
Diffstat (limited to 'main/spl-vanilla')
-rw-r--r--main/spl-vanilla/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/spl-vanilla/APKBUILD b/main/spl-vanilla/APKBUILD
index 1ba27709dd..6e5576b05a 100644
--- a/main/spl-vanilla/APKBUILD
+++ b/main/spl-vanilla/APKBUILD
@@ -34,6 +34,7 @@ builddir="$srcdir"/spl-$_realver
prepare() {
# do not remove as it sources other prepare
default_prepare
+ update_config_sub
# source the kernel version
(
if [ -f "$startdir"/../../main/linux-$_flavor/APKBUILD ]; then
@@ -45,7 +46,7 @@ prepare() {
die "$_name: Please update _kpkgrel to $pkgrel"
fi
fi
- ) || return 1
+ )
}
build() {
@@ -56,14 +57,13 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--with-config=kernel \
- --with-linux=/usr/src/linux-headers-${_abi_release} \
- || return 1
- make || return 1
+ --with-linux=/usr/src/linux-headers-${_abi_release}
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
}
dev() {