Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653718 - sci-geosciences/qgis-3.0.1 automagically builds with sci-geosciences/grass support
Summary: sci-geosciences/qgis-3.0.1 automagically builds with sci-geosciences/grass su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-21 19:44 UTC by Chris Mayo
Modified: 2018-04-22 23:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2018-04-21 19:44:31 UTC
WITH_GRASS no longer works:

https://github.com/qgis/QGIS/blob/9242d2f960ddec24465036dab5e925093c30c641/CMakeLists.txt#L54

Suggest:

@@ -138,7 +138,7 @@
 		-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)
@@ -150,7 +150,6 @@
 
 	if use grass; then
 		mycmakeargs+=(
-			-DWITH_GRASS7=ON
 			-DGRASS_PREFIX7=/usr/$(get_libdir)/grass70
 		)
 	fi
Comment 1 Larry the Git Cow gentoo-dev 2018-04-22 23:11:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd3069bffafbc3c77440170c41609d225404766

commit 8fd3069bffafbc3c77440170c41609d225404766
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-22 20:20:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-22 23:11:07 +0000

    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

 sci-geosciences/qgis/qgis-3.0.2.ebuild | 5 ++---
 sci-geosciences/qgis/qgis-9999.ebuild  | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)