summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-22 22:20:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-23 01:11:07 +0200
commit8fd3069bffafbc3c77440170c41609d225404766 (patch)
tree2a5e8dcb198ca8faef7d4aa5d29fec704aae3c7a /sci-geosciences/qgis
parentsci-geosciences/qgis: Fix USE=-python building (diff)
downloadgentoo-8fd3069bffafbc3c77440170c41609d225404766.tar.gz
gentoo-8fd3069bffafbc3c77440170c41609d225404766.tar.bz2
gentoo-8fd3069bffafbc3c77440170c41609d225404766.zip
sci-geosciences/qgis: Fix USE=grass
Upstream commit eb6301e023e8cfa9d83fbbfc6ca5797b62d8d535 Thanks-to: Chris Mayo <aklhfex@gmail.com> Closes: https://bugs.gentoo.org/653718 Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'sci-geosciences/qgis')
-rw-r--r--sci-geosciences/qgis/qgis-3.0.2.ebuild5
-rw-r--r--sci-geosciences/qgis/qgis-9999.ebuild5
2 files changed, 4 insertions, 6 deletions
diff --git a/sci-geosciences/qgis/qgis-3.0.2.ebuild b/sci-geosciences/qgis/qgis-3.0.2.ebuild
index 9c686b0dc1a5..0b888637f800 100644
--- a/sci-geosciences/qgis/qgis-3.0.2.ebuild
+++ b/sci-geosciences/qgis/qgis-3.0.2.ebuild
@@ -56,7 +56,7 @@ COMMON_DEPEND="
>=x11-libs/qwt-6.1.2:6=[qt5(+),svg]
3d? ( >=dev-qt/qt3d-${QT_MIN_VER}:5 )
georeferencer? ( sci-libs/gsl:= )
- grass? ( >=sci-geosciences/grass-7.0.0:= )
+ grass? ( =sci-geosciences/grass-7*:= )
mapserver? ( dev-libs/fcgi )
oracle? (
dev-db/oracle-instantclient:=
@@ -136,7 +136,7 @@ src_configure() {
-DENABLE_TESTS=OFF
-DWITH_3D=$(usex 3d)
-DWITH_GEOREFERENCER=$(usex georeferencer)
- -DWITH_GRASS=$(usex grass)
+ -DWITH_GRASS7=$(usex grass)
-DWITH_SERVER=$(usex mapserver)
-DWITH_ORACLE=$(usex oracle)
-DWITH_QWTPOLAR=$(usex polar)
@@ -148,7 +148,6 @@ src_configure() {
if use grass; then
mycmakeargs+=(
- -DWITH_GRASS7=ON
-DGRASS_PREFIX7=/usr/$(get_libdir)/grass70
)
fi
diff --git a/sci-geosciences/qgis/qgis-9999.ebuild b/sci-geosciences/qgis/qgis-9999.ebuild
index 9c686b0dc1a5..0b888637f800 100644
--- a/sci-geosciences/qgis/qgis-9999.ebuild
+++ b/sci-geosciences/qgis/qgis-9999.ebuild
@@ -56,7 +56,7 @@ COMMON_DEPEND="
>=x11-libs/qwt-6.1.2:6=[qt5(+),svg]
3d? ( >=dev-qt/qt3d-${QT_MIN_VER}:5 )
georeferencer? ( sci-libs/gsl:= )
- grass? ( >=sci-geosciences/grass-7.0.0:= )
+ grass? ( =sci-geosciences/grass-7*:= )
mapserver? ( dev-libs/fcgi )
oracle? (
dev-db/oracle-instantclient:=
@@ -136,7 +136,7 @@ src_configure() {
-DENABLE_TESTS=OFF
-DWITH_3D=$(usex 3d)
-DWITH_GEOREFERENCER=$(usex georeferencer)
- -DWITH_GRASS=$(usex grass)
+ -DWITH_GRASS7=$(usex grass)
-DWITH_SERVER=$(usex mapserver)
-DWITH_ORACLE=$(usex oracle)
-DWITH_QWTPOLAR=$(usex polar)
@@ -148,7 +148,6 @@ src_configure() {
if use grass; then
mycmakeargs+=(
- -DWITH_GRASS7=ON
-DGRASS_PREFIX7=/usr/$(get_libdir)/grass70
)
fi