[119790] trunk/dports/mail/mu/Portfile
sean at macports.org
sean at macports.org
Tue May 6 15:40:55 PDT 2014
Revision: 119790
https://trac.macports.org/changeset/119790
Author: sean at macports.org
Date: 2014-05-06 15:40:54 -0700 (Tue, 06 May 2014)
Log Message:
-----------
mu: fix mavericks compile problems
Modified Paths:
--------------
trunk/dports/mail/mu/Portfile
Modified: trunk/dports/mail/mu/Portfile
===================================================================
--- trunk/dports/mail/mu/Portfile 2014-05-06 22:40:50 UTC (rev 119789)
+++ trunk/dports/mail/mu/Portfile 2014-05-06 22:40:54 UTC (rev 119790)
@@ -7,7 +7,7 @@
github.setup djcb mu 0.99 v
version 0.9.9
-revision 1
+revision 2
license GPL-3
categories mail
maintainers sean openmaintainer
@@ -32,6 +32,19 @@
use_autoreconf yes
configure.args --with-gui=none --disable-mu4e --disable-webkit --disable-guile
+if {${os.platform} == "darwin" && ${os.major} >= 13} {
+ # see https://github.com/djcb/mu/issues/332
+ macosx_deployment_target
+}
+
+pre-configure {
+ # see https://github.com/djcb/mu/issues/380
+ if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
+ # for some reason, adding to cxxflags didn't work
+ configure.args-append "CXXFLAGS='-std=c++11'"
+ }
+}
+
variant emacs description {Build with emacs bindings} {
depends_lib-append path:${emacs_binary}:${emacs_binary_provider}
configure.env-append EMACS=${emacs_binary}
@@ -44,7 +57,7 @@
github.setup djcb mu abe7ed306d7a
name mu-devel
version 0.9.9.0.99
- revision 15
+ revision 16
checksums rmd160 bae4155cfd1897f3c9e1aa1c0e9927b54c91f0f6 \
sha256 6e6ab118886b09417944fd8e5be3c58db35edbf3db458c6b3dc1362e21c06176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140506/28526fc5/attachment-0001.html>
More information about the macports-changes
mailing list