mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
qt5-build.eclass: Support sed regardless if $MAKE is quoted or not
Bug: https://bugs.gentoo.org/792804 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -186,7 +186,7 @@ qt5-build_src_prepare() {
|
||||
-e '/echo "Done."/a fi' configure || die "sed failed (skip qmake bootstrap)"
|
||||
|
||||
# Respect CC, CXX, *FLAGS, MAKEOPTS and EXTRA_EMAKE when bootstrapping qmake
|
||||
sed -i -e "/outpath\/qmake\".*\"\$MAKE\")/ s|)| \
|
||||
sed -i -e "/outpath\/qmake\".*\"*\$MAKE\"*)/ s|)| \
|
||||
${MAKEOPTS} ${EXTRA_EMAKE} 'CC=$(tc-getCC)' 'CXX=$(tc-getCXX)' \
|
||||
'QMAKE_CFLAGS=${CFLAGS}' 'QMAKE_CXXFLAGS=${CXXFLAGS}' 'QMAKE_LFLAGS=${LDFLAGS}'&|" \
|
||||
-e 's/\(setBootstrapVariable\s\+\|EXTRA_C\(XX\)\?FLAGS=.*\)QMAKE_C\(XX\)\?FLAGS_\(DEBUG\|RELEASE\).*/:/' \
|
||||
|
||||
Reference in New Issue
Block a user