<pre style='margin:0'>
MarcusCalhoun-Lopez pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ce8b295138716dd95a65f3c80ba7857cb409ab11">https://github.com/macports/macports-ports/commit/ce8b295138716dd95a65f3c80ba7857cb409ab11</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ce8b295 py-pyqt5: respect macosx_deployment_target and configure.cxx_stdlib variables
</span>ce8b295 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ce8b295138716dd95a65f3c80ba7857cb409ab11
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat Nov 5 21:59:03 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> py-pyqt5: respect macosx_deployment_target and configure.cxx_stdlib variables
</span>---
python/py-pyqt5/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pyqt5/Portfile b/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 914a5e0..8c6f4ca 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pyqt5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup python 1.0
</span>
name py-pyqt5
version 5.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories-append devel
platforms darwin
maintainers mmoll openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,17 @@ if {${name} ne ${subport}} {
</span> destroot.cmd ${build.cmd}
destroot.destdir DESTDIR=${destroot}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ # override QMAKE_MACOSX_DEPLOYMENT_TARGET set in ${prefix}/libexec/qt5/mkspecs/macx-clang/qmake.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append QMAKE_MACOSX_DEPLOYMENT_TARGET=${macosx_deployment_target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # override C++ flags set in ${prefix}/libexec/qt5/mkspecs/common/clang-mac.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # so value of ${configure.cxx_stdlib} can always be used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS-=-stdlib=libc++ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LFLAGS-=-stdlib=libc++ \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_CXXFLAGS+=-stdlib=${configure.cxx_stdlib} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ QMAKE_LFLAGS+=-stdlib=${configure.cxx_stdlib}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant debug description "Build debug libraries" {
configure.cmd-append --debug
}
</pre><pre style='margin:0'>
</pre>