aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-01-12 13:11:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-01-12 13:11:51 +0000
commit4c5a0b0a9246c12df552cf80e3da61aa2462037d (patch)
tree68afeb9a80b115ad68ddcc22aeaa2909275e0284 /main
parent3bfd8b770f4e8a8589f323fc07a5f8b441e246b6 (diff)
downloadaports-4c5a0b0a9246c12df552cf80e3da61aa2462037d.tar.bz2
aports-4c5a0b0a9246c12df552cf80e3da61aa2462037d.tar.xz
main/drbd9-vanilla: modernize and fix build on ppc64le
Diffstat (limited to 'main')
-rw-r--r--main/drbd9-vanilla/APKBUILD16
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"