aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libspatialite
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-07 01:03:28 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-06-07 01:20:37 -0300
commit830f7c203799a3408627413d753c826088483447 (patch)
tree5f89bf0a1b37d2468086f373d55431dd8ae9965f /testing/libspatialite
parent35ca9347bf5fefa1a6563d46a3e098956aa59ef7 (diff)
downloadaports-830f7c203799a3408627413d753c826088483447.tar.bz2
aports-830f7c203799a3408627413d753c826088483447.tar.xz
testing/libspatialite: fix build, rebuild for new proj4
Diffstat (limited to 'testing/libspatialite')
-rw-r--r--testing/libspatialite/APKBUILD26
1 files changed, 12 insertions, 14 deletions
diff --git a/testing/libspatialite/APKBUILD b/testing/libspatialite/APKBUILD
index 7c6237838a..cb3a6b500f 100644
--- a/testing/libspatialite/APKBUILD
+++ b/testing/libspatialite/APKBUILD
@@ -2,36 +2,34 @@
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=libspatialite
pkgver=4.3.0a
-pkgrel=1
+pkgrel=2
pkgdesc="SpatiaLite extends the SQLite core to support fully fledged Spatial SQL capabilities."
url="https://www.gaia-gis.it/fossil/libspatialite/index"
arch="x86 x86_64"
license="MPL-1.1"
options="!check"
makedepends="geos-dev sqlite-dev proj4-dev zlib-dev libxml2-dev"
-install=""
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::http://www.gaia-gis.it/gaia-sins/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
-
- ./configure \
- --prefix=/usr \
- --build=$CBUILD \
- --host=$CHOST \
- --enable-freexl=no
- make
+ CFLAGS="$CFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \
+ ./configure \
+ --prefix=/usr \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --enable-freexl=no \
+ --disable-static
+ make
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install
}
prepare() {
- update_config_sub
+ default_prepare
+ update_config_sub
}
sha512sums="adfd63e8dde0f370b07e4e7bb557647d2bfb5549205b60bdcaaca69ff81298a3d885e7c1ca515ef56dd0aca152ae940df8b5dbcb65bb61ae0a9337499895c3c0 libspatialite-4.3.0a.tar.gz"