qt5-build.eclass: cleanup iconv handling
authorDavide Pesavento <pesa@gentoo.org>
Wed, 15 Mar 2017 00:23:12 +0000 (01:23 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 8 Oct 2017 01:46:23 +0000 (12:46 +1100)
eclass/qt5-build.eclass

index 6f46b2e7b8d4f0a9fb3e8d838d6b353fa1332bb0..f905a7ab273351d21718ce81604182d2862acafd 100644 (file)
@@ -612,7 +612,8 @@ qt5_base_configure() {
                -verbose
 
                # always enable iconv support
-               -iconv
+               # since 5.8 this is handled in qtcore
+               $([[ ${QT5_MINOR_VERSION} -lt 8 ]] && echo -iconv)
 
                # disable everything to prevent automagic deps (part 3)
                -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus