Bug 436539 - cfitsio.pc contains incorrect paths
Summary: cfitsio.pc contains incorrect paths
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cfitsio
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matthew Truch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-07 19:37 UTC by Kevin Kofler
Modified: 2008-03-07 21:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-07 21:42:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kevin Kofler 2008-03-07 19:37:51 UTC
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 
others).

Version-Release number of selected component (if applicable):
cfitsio-3.060-2.fc9

How reproducible:
Always

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

Expected results:
The specified include and lib directories match reality.

Comment 1 Matthew Truch 2008-03-07 21:41:07 UTC
Good catch.  The fix was just built in koji, and should be available shortly.  
cfitsio-3.060-3.fc9


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