OSSP CVS Repository

ossp - Ticket #200
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Attach]  [Edit]  [History

Ticket 200: uuid.pc.in does not use the right autoconf variables for paths

uuid.pc.in does not use the correct variables to define exec_prefix, includedir and libdir. As a result, if a build system overrides the default, the exported location hints are wrong. Eg: ¤https://github.com/Homebrew/homebrew/issues/43843 OSX's HomeBrew passes "--includedir=#{include}/ossp", but the generated uuid.pc does NOT use it, so the header location is wrong.

This simple patch fixes it:

  --- uuid.pc.in  2015-09-12 04:03:34.921192349 +0100
  +++ uuid.pc.in  2015-09-12 04:13:53.226386329 +0100
  @@ -30,5 +30,5 @@
   prefix=@prefix@
  -exec_prefix=${prefix}
  -includedir=${prefix}/include
  -libdir=${exec_prefix}/lib
  +exec_prefix=@exec_prefix@
  +includedir=@includedir@
  +libdir=@libdir@
[Add remarks]

Remarks:

Properties:

Type: code           Version: 1.6.2 
Status: new          Created: 2015-Sep-13 23:25
Severity:          Last Change: 2015-Sep-13 23:25
Priority:          Subsystem: uuid 
Assigned To: rse           Derived From:  
Creator: anonymous 

CVSTrac 2.0.1