mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
xcb_proto: Fix the pkg-config file
It is generated using .config.status which doesn't get the exported variables.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user