diff options
Diffstat (limited to 'sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild')
-rw-r--r-- | sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild b/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild index 990f5c9422a8..e5e751831c5d 100644 --- a/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild +++ b/sci-geosciences/osm2pgsql/osm2pgsql-0.96.0.ebuild @@ -1,25 +1,25 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake flag-o-matic -DESCRIPTION="Converts OSM data to SQL and insert into PostgreSQL db" +DESCRIPTION="Converts OSM planet.osm data to a PostgreSQL/PostGIS database" HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql - https://github.com/openstreetmap/osm2pgsql" + https://github.com/openstreetmap/osm2pgsql" SRC_URI="https://github.com/openstreetmap/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+lua" COMMON_DEPEND=" app-arch/bzip2 dev-db/postgresql:= dev-libs/expat - sci-libs/proj + sci-libs/proj:= sys-libs/zlib lua? ( dev-lang/lua:= ) " @@ -34,9 +34,10 @@ RDEPEND="${COMMON_DEPEND} RESTRICT="test" src_configure() { + append-cppflags -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 local mycmakeargs=( -DWITH_LUA=$(usex lua) -DBUILD_TESTS=OFF ) - cmake-utils_src_configure + cmake_src_configure } |