Bug 138234

Summary: pkgconfig .pc files contain non-standard paths
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Stanislav Brabec <sbrabec>
Component: X.OrgAssignee: Stefan Dirsch <sndirsch>
Status: RESOLVED WONTFIX QA Contact: Stefan Dirsch <sndirsch>
Severity: Minor    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stanislav Brabec 2005-12-13 10:25:11 UTC
Preamble of xorg-x11 pkgconfig files contain:

prefix=/usr/X11R6
exec_prefix=/usr/X11R6/bin
libdir=/usr/X11R6/lib64
includedir=/usr/X11R6/include

Value for exec_prefix is in contradiction with GNU Coding Standards, and correct value should be ${prefix}, /usr/X11R6/bin should be assigned to bindir

Correct values should be:

prefix=/usr/X11R6
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=${prefix}/include

And in .pc.in (if automake is used):

prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

It does not break anything, but it should be fixed. If it is not a problem of SuSE configure, it should be reported upstream.
Comment 1 Stefan Dirsch 2005-12-13 10:35:09 UTC
This is fixed with modular X.Org, which we'll begin to ship with SUSE 10.2. Please don't discuss now why not yet with 10.1 (it has already been discussed). Since you said it doesn't break anything I'll set this to WONTFIX.
It would only be a cosmetic change. Hope this is ok for you.