Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 601380

Summary: sci-geosciences/qgis-2.14.5 ignores USE="-grass"
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: Current packagesAssignee: Sci-geo Project <sci-geosciences>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Mayo 2016-12-01 20:08:51 UTC
If sci-geosciences/grass is installed qgis builds support for it regardless of USE flag.

Fixed for me by adding "7" to -DWITH_GRASS in src_configure():

@@ -101,7 +101,7 @@
 		-DENABLE_TESTS=no
 		-DWITH_BINDINGS="$(usex python)"
 		-DWITH_BINDINGS_GLOBAL_INSTALL="$(usex python)"
-		-DWITH_GRASS="$(usex grass)"
+		-DWITH_GRASS7="$(usex grass)"
 		$(usex grass "-DGRASS_PREFIX=/usr/" "")
 		-DWITH_GSL="$(usex gsl)"
 		-DWITH_ORACLE="$(usex oracle)"



Files and directories that are otherwise installed include:

/usr/lib64/libqgisgrass7.so
/usr/lib64/libqgisgrass7.so.2.14.5

/usr/lib64/qgis/libgrassplugin7.so
/usr/lib64/qgis/libgrassprovider7.so
/usr/lib64/qgis/libgrassrasterprovider7.so

/usr/lib64/qgis/grass/

/usr/share/qgis/grass/
Comment 1 Amy Liffey gentoo-dev 2016-12-15 10:58:43 UTC
commit 1ec8a98a7e988b2de80d7285834def2c819bbfe8
Author: Amy Winston <amynka@gentoo.org>
Date:   Thu Dec 15 11:57:26 2016 +0100

    sci-geosciences/qgis: fix grass flag bug #601380 by Chris Mayo

Thank you for your contribution.