Modified: trunk/dports/aqua/qt4-mac/Portfile (110470 => 110471)
--- trunk/dports/aqua/qt4-mac/Portfile 2013-08-31 08:51:14 UTC (rev 110470)
+++ trunk/dports/aqua/qt4-mac/Portfile 2013-08-31 09:01:30 UTC (rev 110471)
@@ -234,12 +234,24 @@
patchfiles-append \
patch-tools_macdeployqt_shared_shared.cpp.diff
-# (24) Fix build against libc++ (eg: Mavericks)
-# TODO: More changes needed
+# (24) Fix build against libc++
patchfiles-append \
patch-libc++.diff
+# TODO: More patches to fix Mavericks build
+platform darwin {
+ if {${os.major} >= 13} {
+ # This project needs to be updated to build with clang++ against libc++
+ depends_lib
+ depends_run
+ pre-fetch {
+ ui_error "$name does not build on Mavericks or later."
+ error "unsupported platform"
+ }
+ }
+}
+
###############################################
# disable CCACHE for now (ticket #34856)