commit:     74bdf65d1644777a05093efeba5d584c4e91a718
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 24 00:15:26 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Thu Jul 24 00:15:26 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=74bdf65d

[qt5-build.eclass] Sort and uniquify macros in gentoo-qconfig.h

---
 eclass/qt5-build.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 206aa31..84d1ceb 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -650,7 +650,7 @@ qt5_regenerate_global_qconfigs() {
 
        find "${ROOT%/}${QT5_HEADERDIR}"/Gentoo \
                -name '*-qconfig.h' -a \! -name 'gentoo-qconfig.h' -type f \
-               -execdir cat '{}' + > "${T}"/gentoo-qconfig.h
+               -execdir cat '{}' + | sort -u > "${T}"/gentoo-qconfig.h
 
        [[ -s ${T}/gentoo-qconfig.h ]] || ewarn "Generated gentoo-qconfig.h is 
empty"
        mv -f "${T}"/gentoo-qconfig.h 
"${ROOT%/}${QT5_HEADERDIR}"/Gentoo/gentoo-qconfig.h \

Reply via email to