From 27809bdf7e7a89f5aabb6f609caafb9bf9c63487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 25 Sep 2017 06:32:36 +0000 Subject: main/spl-vanilla: update config.sub, modernize --- main/spl-vanilla/APKBUILD | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'main/spl-vanilla') 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() { -- cgit v1.2.3