Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601380 - sci-geosciences/qgis-2.14.5 ignores USE="-grass"
Summary: sci-geosciences/qgis-2.14.5 ignores USE="-grass"
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: PATCH
Depends on:
Blocks:
 
Reported: 2016-12-01 20:08 UTC by Chris Mayo
Modified: 2016-12-15 10:58 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 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.