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

Bug 34747

Summary: fluxbox-0.1.14-r2 has broken DEPEND
Product: Gentoo Linux Reporter: Spider (RETIRED) <spider>
Component: Current packagesAssignee: Commonbox Team <commonbox>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: 1.4   
Hardware: All   
OS: All   
URL: http://chinstrap.alternating.net/
Whiteboard:
Package list:
Runtime testing required: ---

Description Spider (RETIRED) gentoo-dev 2003-11-30 03:15:38 UTC
>if pkg-config xft
>then
>        CXXFLAGS="${CXXFLAGS} -I/usr/include/freetype2"
>fi




This fails for my systems, as pkg-config isn't installed and not listed in DEPEND.  

Either add pkg-config  to DEPEND, or change that test to something else.
Comment 1 SpanKY gentoo-dev 2003-11-30 03:21:26 UTC
that kind of code should never be in global scope ...

so while thats being fixed up, please move that code to src_compile and change the CXXFLAGS= to append-flags ...
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2003-12-06 00:15:43 UTC
nice catch, fixed in cvs.