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

Bug 566538

Summary: mate-extra/caja-dropbox: calls use_enable in global scope
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo MATE Desktop <mate>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 566518    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-22 22:45:22 UTC
G2CONF="${G2CONF} $(use_enable debug) --disable-static"

Nope, you can't do that in global scope, mate. Also please don't intersperse variables (DOCS) with functions, this makes ebuilds terribly hard to read.
Comment 1 Adam Feldman gentoo-dev 2015-11-23 02:45:01 UTC
Fixed in commit 261b9a371d6aa9fd548f8affe5d080a762ca9fb6.  Thanks for the report.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-05-05 21:04:11 UTC
Still/again in caja-dropbox-1.10.1.ebuild.
Comment 3 Adam Feldman gentoo-dev 2016-05-07 02:46:19 UTC
Looks like the project repo wasn't updated when the bug was originally fixed.

Fixed 1.10 in 0dfabaec0a2bb3f4ee70beb32f3ac7458f546e17