diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-06-22 11:30:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-06-22 11:30:24 +0100 |
commit | d56d144655e3785864da43c9acb6c228ef9360ae (patch) | |
tree | b769b599a558483f82e9a057c41f1edd29626dd1 /dev-db/postgis/postgis-9999.ebuild | |
parent | fab849d1daed0ba7f2ac497d07985c3dbb692543 (diff) |
gentoo resync : 22.06.2019
Diffstat (limited to 'dev-db/postgis/postgis-9999.ebuild')
-rw-r--r-- | dev-db/postgis/postgis-9999.ebuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/dev-db/postgis/postgis-9999.ebuild b/dev-db/postgis/postgis-9999.ebuild index 156d4d9bc7db..ef406c8c690c 100644 --- a/dev-db/postgis/postgis-9999.ebuild +++ b/dev-db/postgis/postgis-9999.ebuild @@ -18,16 +18,18 @@ HOMEPAGE="http://postgis.net" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="doc gtk static-libs test" +IUSE="address-standardizer doc gtk static-libs mapbox test topology" RDEPEND=" ${POSTGRES_DEP} dev-libs/json-c:= dev-libs/libxml2:2 - >=sci-libs/geos-3.4.2 + >=sci-libs/geos-3.5.0 >=sci-libs/proj-4.6.0 - >=sci-libs/gdal-1.10.0:= + >=sci-libs/gdal-1.10.0 + address-standardizer? ( dev-libs/libpcre ) gtk? ( x11-libs/gtk+:2 ) + mapbox? ( dev-libs/protobuf ) " DEPEND="${RDEPEND} @@ -46,8 +48,6 @@ REQUIRED_USE="test? ( doc )" # Needs a running psql instance, doesn't work out of the box RESTRICT="test" -MAKEOPTS+=' -j1' - src_prepare() { source "${S}"/Version.config export PGIS="${POSTGIS_MAJOR_VERSION}.${POSTGIS_MINOR_VERSION}" @@ -57,6 +57,7 @@ src_prepare() { # *FLAGS settings. export QA_FLAGS_IGNORED="usr/lib(64)?/(rt)?postgis-${PGIS}\.so" + eapply "${FILESDIR}/${PN}-2.2.0-arflags.patch" eapply_user local AT_M4DIR="macros" @@ -66,7 +67,13 @@ src_prepare() { src_configure() { local myargs="" - use gtk && myargs+=" --with-gui" + + use gtk && myargs+=" --with-gui" + + use address-standardizer || myargs+=" --without-address-standardizer" + use mapbox || myargs+=" --without-protobuf" + use topology || myargs+=" --without-topology" + postgres-multi_foreach econf ${myargs} } |