<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0f75b87e498972879c7410d1c89c59bc3411dc69">https://github.com/macports/macports-ports/commit/0f75b87e498972879c7410d1c89c59bc3411dc69</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 0f75b87e498972879c7410d1c89c59bc3411dc69
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Wed Feb 21 20:50:03 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> LyX: fix +qt5 build add -std=c++11 and required dependents
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes https://trac.macports.org/ticket/55867
</span>---
aqua/LyX/Portfile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/LyX/Portfile b/aqua/LyX/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 80d6cde..e131deb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/LyX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/LyX/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -80,14 +80,21 @@ variant qt4 conflicts qt5 description {Use Qt4} {
</span> variant qt5 conflicts qt4 description {Use Qt5} {
PortGroup qt5 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:qt5-qtmacextras
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qt5.depends_component qtbase \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtmacextras \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ qtsvg
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -std=c++11
</span> configure.pre_args --prefix=${applications_dir}/LyX.app
configure.args --without-x \
--without-included-boost \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-cxx11 \
</span> --enable-optimization=-Os \
--with-version-suffix=-${branch} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-qt-dir=${prefix}/libexec/qt5 --enable-qt5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-qt-dir=${prefix}/libexec/qt5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-qt-includes=${prefix}/libexec/qt5/include \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-qt-libraries=${prefix}/libexec/qt5/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --enable-qt5
</span> }
post-destroot {
</pre><pre style='margin:0'>
</pre>