[KDE/Mac] QtCurve doesn't build on Snow Leopard

Marko Käning mk-lists at email.de
Tue Dec 2 08:03:44 UTC 2014


Hi René,

do you think the below addition will make it build on Snow Leopard?

I can’t test it here, so it would be great if you could give it a shot?

Perhaps an additional note has to be inserted, so that the user knows
what to do, if there isn’t the required compiler installed yet...

Greets,
Marko





qtcurve marko$ svn diff
Index: Portfile
===================================================================
--- Portfile	(revision 128987)
+++ Portfile	(working copy)
@@ -36,6 +36,11 @@
 configure.args-append   -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT5:BOOL=OFF \
                         -DQTC_QT4_ENABLE_KWIN:BOOL=OFF
 
+# configure checks that we're clang 3.2, gcc 4.7, or better
+compiler.blacklist-append gcc-3.3 gcc-4.0 apple-gcc-4.0 gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
+compiler.blacklist-append macports-gcc-4.2 macports-gcc-4.3 macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6
+compiler.blacklist-append {clang < 425} macports-clang-2.9 macports-clang-3.0 macports-clang-3.1
+
 variant x11 description {build x11 support} {}
 if { [variant_isset x11] } {
 	depends_lib-append port:xorg-libX11




More information about the kde-mac mailing list