From cf1eadffb068d7df60745c20fbe748e0e3e09d2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 29 Jul 2014 20:12:37 +0200 Subject: [PATCH] xcb_proto: Fix the pkg-config file It is generated using .config.status which doesn't get the exported variables. --- x11-proto/xcb_proto/xcb_proto-1.6.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x11-proto/xcb_proto/xcb_proto-1.6.recipe b/x11-proto/xcb_proto/xcb_proto-1.6.recipe index b3b56a07e..0b7ff042e 100644 --- a/x11-proto/xcb_proto/xcb_proto-1.6.recipe +++ b/x11-proto/xcb_proto/xcb_proto-1.6.recipe @@ -58,6 +58,9 @@ INSTALL() pythonVersion=$(python --version 2>&1 | sed 's/Python //' | head -c3) export pyexecdir=$prefix/lib/python$pythonVersion/vendor-packages export pythondir=$prefix/lib/python$pythonVersion/vendor-packages + # the .pc file doesn't get it anyway, force it + sed -i "s,pythondir=.*/site-packages,pythondir=\${prefix}/lib/python$pythonVersion/vendor-packages," \ + xcb-proto.pc make install DESTDIR=/ pyexecdir=$pyexecdir pythondir=$pythondir fixPkgconfig }