FS#38112 - Invalid pkg-config with x264

Attached to Project: Arch Linux
Opened by ux (ubitux) - Thursday, 12 December 2013, 06:57 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 13 December 2013, 07:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The x264 package (20131030-1) relies on {bin,lib,include}dir variables in the Makefile instead of using the appropriate --prefix configure flag.

This seems to be causing a problem with the generated .pc (pkg-config) file:

[~]☭ grep prefix /usr/lib/pkgconfig/x264.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Libs: -L${exec_prefix}/lib -lx264
Cflags: -I${prefix}/include

[~]☭ pkg-config --libs --cflags x264
-I/usr/local/include -L/usr/local/lib -lx264

This is of course not where x264 is located.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 13 December 2013, 07:56 GMT
Reason for closing:  Fixed

Loading...