FS#50519 - [lxc] broken /usr/lib/pkgconfig/lxc.pc

Attached to Project: Community Packages
Opened by Aleksey Filippov (lex4051) - Thursday, 25 August 2016, 23:07 GMT
Last edited by Sergej Pupykin (sergej) - Tuesday, 30 August 2016, 13:08 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Starting from version 2.0.4 pkg-config configuration gets the following:
prefix=/usr
libdir=${prefix}//usr/lib
includedir=${prefix}//usr/include
this breaks utilities based on pkg-config and all automated builds as a result.

Additional info:
* package version(s): 1:2.0.4-1
* config and/or log files etc.

Steps to reproduce:
$ pkg-config --libs --cflags lxc
-I/usr//usr/include -L/usr//usr/lib -llxc -lutil
This task depends upon

Closed by  Sergej Pupykin (sergej)
Tuesday, 30 August 2016, 13:08 GMT
Reason for closing:  Fixed
Comment by Aleksey Filippov (lex4051) - Thursday, 25 August 2016, 23:17 GMT
As a quick workaround I can suggest adding this to prepare()

sed -i \
-e 's|\${prefix}/||g' \
lxc.pc.in

Loading...