summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-20 15:31:11 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-20 16:19:36 +0200
commitedc61c208f0045cf5335a130d0dbad2909241073 (patch)
tree9f243739bcd2cbdf084d56c977e94bed78322eb3 /dev-db/spatialite
parentsci-geosciences/qgis: Add slot operator on sci-libs/proj (diff)
downloadgentoo-edc61c208f0045cf5335a130d0dbad2909241073.tar.gz
gentoo-edc61c208f0045cf5335a130d0dbad2909241073.tar.bz2
gentoo-edc61c208f0045cf5335a130d0dbad2909241073.zip
dev-db/spatialite: Workaround build with >=sci-libs/proj-6
Thanks-to: Dmitry Suloev <SuloevDmitry@gmail.com> Closes: https://bugs.gentoo.org/685668 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-db/spatialite')
-rw-r--r--dev-db/spatialite/spatialite-4.3.0a.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-db/spatialite/spatialite-4.3.0a.ebuild b/dev-db/spatialite/spatialite-4.3.0a.ebuild
index 796d1774d60c..3fb9d3d53dd8 100644
--- a/dev-db/spatialite/spatialite-4.3.0a.ebuild
+++ b/dev-db/spatialite/spatialite-4.3.0a.ebuild
@@ -3,6 +3,8 @@
EAPI=6
+inherit flag-o-matic
+
MY_PN="lib${PN}"
MY_P="${MY_PN}-${PV}"
@@ -19,7 +21,7 @@ RDEPEND="
>=dev-db/sqlite-3.7.5:3[extensions(+)]
sys-libs/zlib
geos? ( >=sci-libs/geos-3.4 )
- proj? ( sci-libs/proj )
+ proj? ( sci-libs/proj:= )
xls? ( dev-libs/freexl )
xml? ( dev-libs/libxml2 )
"
@@ -30,6 +32,9 @@ REQUIRED_USE="test? ( iconv )"
S="${WORKDIR}/${MY_P}"
src_configure() {
+ if use proj && has_version ">=sci-libs/proj-6.0.0"; then
+ append-flags "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
+ fi
econf \
--disable-examples \
--disable-static \