From 83cff1801c5dc3c2d50bd5ea0979e4d19f1a6431 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 22 May 2020 12:52:39 +0700 Subject: [PATCH] python3: remove more $XBPS_CROSS_BASE cruft Despite this change remove a -I$XBPS_CROSS_BASE/usr/include, no behaviour was changed since there's another `-I/usr/include` before that. No need to bump rev. --- srcpkgs/python3/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 5ac50af1e7e..0649cd82cf1 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -79,6 +79,8 @@ do_install() { sed -i "s/$XBPS_CROSS_TRIPLET-//g" \ ${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_*_*.py \ ${DESTDIR}/usr/lib/python${version%.*}/config-${version%.*}*/Makefile + sed -i -e "s,$XBPS_CROSS_BASE,,g" \ + ${DESTDIR}/usr/bin/python${version%.*}-config fi }