From ef1821f53b66d9c15acbf8995ee86b97d4674ef1 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 7 Apr 2017 00:50:16 +0000 Subject: community/redland: fix build on ppc64le --- community/redland/APKBUILD | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'community/redland') diff --git a/community/redland/APKBUILD b/community/redland/APKBUILD index 3a8daa74db..e4b620ac1b 100644 --- a/community/redland/APKBUILD +++ b/community/redland/APKBUILD @@ -14,19 +14,16 @@ install="" subpackages="$pkgname-dev $pkgname-doc" source="http://download.librdf.org/source/redland-$pkgver.tar.gz" -_builddir="$srcdir"/redland-$pkgver +builddir="$srcdir"/redland-$pkgver + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + update_config_guess || return 1 + update_config_sub || return 1 } build() { - cd "$_builddir" + cd "$builddir" LIBS="-lm" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -37,7 +34,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } -- cgit v1.2.3