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 }