changeset 1297:a25750281348

python/python: fix pkg-config files
author David Demelier <markand@malikania.fr>
date Thu, 11 Nov 2021 11:11:07 +0100
parents b94bcc38bea6
children 8272573ca2c3
files python/python/python.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/python/python.sh	Thu Nov 11 09:19:22 2021 +0100
+++ b/python/python/python.sh	Thu Nov 11 11:11:07 2021 +0100
@@ -62,7 +62,7 @@
 	make
 	make DESTDIR=$DESTDIR install maninstall
 	ln -sf python3.10 $DESTDIR/bin/python
-	sed -i -e "s|prefix=/|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
+	sed -i -e "s|^prefix.*|prefix=|" $DESTDIR/lib/pkgconfig/*.pc
 
 	cd ..
 	rm -rf Python-$PKGVERSION