Bug 436539 - cfitsio.pc contains incorrect paths
cfitsio.pc contains incorrect paths
Product: Fedora
Classification: Fedora
Component: cfitsio (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Matthew Truch
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-03-07 14:37 EST by Kevin Kofler
Modified: 2008-03-07 16:42 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-03-07 16:42:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kevin Kofler 2008-03-07 14:37:51 EST
Description of problem:
While trying to fix kdeedu to find the cfitsio headers (they aren't looking 
outside of /usr/include for them), I noticed (when trying to make it use 
pkgconfig instead) that cfitsio.pc contains incorrect paths:
* includedir=${prefix}/include should be includedir=${prefix}/include/cfitsio 
as that's where the headers are actually being installed to,
* libdir is hardcoded to ${exec_prefix}/lib on all architectures, that should 
be ${exec_prefix}/lib64 on lib64 architectures (and ${exec_prefix}/lib on the 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Either inspect the .pc file by hand or run "pkg-config --cflags --libs 
Actual results:
Wrong hardcoded directories.

Expected results:
The specified include and lib directories match reality.
Comment 1 Matthew Truch 2008-03-07 16:41:07 EST
Good catch.  The fix was just built in koji, and should be available shortly.  

Note You need to log in before you can comment on or make changes to this bug.