Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62814 - cairo ebuild overrides PKG_CONFIG_PATH
Summary: cairo ebuild overrides PKG_CONFIG_PATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-04 04:54 UTC by basic
Modified: 2004-09-10 12:40 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 basic 2004-09-04 04:54:01 UTC
cairo ebuild overrides PKG_CONFIG_PATH, this means that if one has glitz or xcb (X C Bindings not X Cut Buffers) installed under say, /usr/local , it will never find it as PKG_CONFIG_PATH gets overridden. A fix for this should be something along the lines of changing this line in the ebuild:

PKG_CONFIG_PATH=${FILESDIR} econf || die

to

PKG_CONFIG_PATH="${FILESDIR}:${PKG_CONFIG_PATH}" econf || die


Reproducible: Always
Steps to Reproduce:
1. PKG_CONFIG_PATH=/usr/local/lib/pkgconfig emerge cairo
2.
3.

Actual Results:  
glitz or xcb not detected

Expected Results:  
glitz or xcb detected
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-05 01:09:31 UTC
cairo isn't ours.
Comment 2 Tom Payne (RETIRED) gentoo-dev 2004-09-10 12:40:56 UTC
Thanks, fixed in CVS like this:

PKG_CONFIG_PATH=${PKG_CONFIG_PATH+$PKG_CONFIG_PATH:}${FILESDIR} econf || die

Regards,

Tom