[110471] trunk/dports/aqua/qt4-mac/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Aug 31 02:01:30 PDT 2013
Revision: 110471
https://trac.macports.org/changeset/110471
Author: jeremyhu at macports.org
Date: 2013-08-31 02:01:30 -0700 (Sat, 31 Aug 2013)
Log Message:
-----------
qt4-mac: Error out early on Mavericks
Modified Paths:
--------------
trunk/dports/aqua/qt4-mac/Portfile
Modified: trunk/dports/aqua/qt4-mac/Portfile
===================================================================
--- 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)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130831/3cc3bf82/attachment.html>
More information about the macports-changes
mailing list