aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2018-07-17 14:27:57 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-07-17 14:27:57 +0000
commite5af4c31ed77a634f866420e72998491ecabd637 (patch)
treea0c27c167aef0a63e16bf92560191632711a7f45
parent8ec516cc3fe6f392fe41a3ac318fe7e47486c325 (diff)
downloadaports-e5af4c31ed77a634f866420e72998491ecabd637.tar.gz
aports-e5af4c31ed77a634f866420e72998491ecabd637.tar.bz2
aports-e5af4c31ed77a634f866420e72998491ecabd637.tar.xz
testing/readosm: attempt to fix build on aarch64 and ppc64le
-rw-r--r--testing/readosm/APKBUILD12
1 files changed, 10 insertions, 2 deletions
diff --git a/testing/readosm/APKBUILD b/testing/readosm/APKBUILD
index f77c7e369f..9cc32873f2 100644
--- a/testing/readosm/APKBUILD
+++ b/testing/readosm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
pkgname=readosm
pkgver=1.1.0
-pkgrel=0
+pkgrel=1
pkgdesc="Library to extract valid data from an Open Street Map input file."
url="https://www.gaia-gis.it/fossil/readosm/index"
arch="all"
@@ -14,9 +14,17 @@ install=""
subpackages="$pkgname-dev"
source="http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
+prepare() {
+ default_prepare
+ update_config_sub
+}
+
build() {
cd "$builddir"
- ./configure --prefix /usr
+ ./configure \
+ --host=$CHOST \
+ --build=$CBUILD \
+ --prefix /usr
make
}