FS#60757 - [tinyxml2] pkg-config file uses only relative path for include and lib

Attached to Project: Community Packages
Opened by Major (majorx234) - Friday, 09 November 2018, 15:32 GMT
Last edited by Alexander F. Rødseth (xyproto) - Sunday, 11 November 2018, 16:19 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
usr/lib/pkgconfig/tinyxml2.pc uses only relative path for include and lib:
prefix=/usr
exec_prefix=${prefix}
libdir=lib
includedir=include
...
but this should be:

prefix=/usr
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
...

Additional info:
* package version: 7.0.0-1
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Sunday, 11 November 2018, 16:19 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Friday, 09 November 2018, 16:23 GMT
The .pc file is built using the CMAKE_INSTALL_LIBDIR macro, which is for some reason using relative paths in the PKGBUILD... this "works" in cmake, but results in the macro being inconsistent with the actual reality of make install, since cmake only absolutizes the path in installation calls.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 11 November 2018, 16:15 GMT
Thanks for reporting, I'm on it.
Comment by Alexander F. Rødseth (xyproto) - Sunday, 11 November 2018, 16:19 GMT
Fixed. The updated package will appear in [community] shortly.

Loading...