diff options
-rw-r--r-- | main/drbd9-vanilla/APKBUILD | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/main/drbd9-vanilla/APKBUILD b/main/drbd9-vanilla/APKBUILD index 10f12a535a..af7daf86c1 100644 --- a/main/drbd9-vanilla/APKBUILD +++ b/main/drbd9-vanilla/APKBUILD @@ -47,25 +47,19 @@ prepare() { else die "could not determine kernel flavor: linux-${_flavor}" fi - return 0) || return 1 - - - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + return 0) + default_prepare } build() { cd "$_builddir" - make KVER=$_abi_release || return 1 + unset LDFLAGS + make KVER=$_abi_release } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="64e98eb055c3007231faf00b3b16d47a339d5aa2301e328a86c943d8d31cb73802e7d187a94bf84947750f98442370d8eb366a4675472050a1c0c095868152d5 drbd-9.0.9-1.tar.gz" |