Bug 34747 - fluxbox-0.1.14-r2 has broken DEPEND
Bug#: 34747 Product:  Gentoo Linux Version: 1.4 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: commonbox@gentoo.org Reported By: spider@gentoo.org
Component: Applications
URL:  http://chinstrap.alternating.net/
Summary: fluxbox-0.1.14-r2 has broken DEPEND
Keywords:  
Status Whiteboard: 
Opened: 2003-11-30 03:15 0000
Description:   Opened: 2003-11-30 03:15 0000
>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 From SpanKY 2003-11-30 03:21:26 0000 -------
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 From Markus Nigbur (RETIRED) 2003-12-06 00:15:43 0000 -------
nice catch, fixed in cvs.