From 2f72999af73f6f8f154ee34a4ca291e61b76c458 Mon Sep 17 00:00:00 2001 From: David Heidelberger Date: Mon, 21 Oct 2013 17:12:32 +0200 Subject: [PATCH] eclass/qt5-build: fix QCONFIG_{ADD,DEL} by removing newlines should fix Gentoo bug #480654 --- eclass/qt5-build.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index f9509da..68654ec 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -517,7 +517,8 @@ qt5_install_module_qconfigs() { # qconfig.pri : > "${T}"/${PN}-qconfig.pri for x in QCONFIG_ADD QCONFIG_REMOVE; do - [[ -n ${!x} ]] && echo "${x}=${!x}" >> "${T}"/${PN}-qconfig.pri + [[ -n ${!x} ]] && echo "${x}=${!x}" | tr '\n' ' ' | sed 's/ //g' \ + >> "${T}"/${PN}-qconfig.pri done [[ -s ${T}/${PN}-qconfig.pri ]] && ( insinto "${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/gentoo -- 1.8.4