Skip to content

Commit

Permalink
LyX: fix +qt5 build add -std=c++11 and required dependents
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthindenburg committed Feb 22, 2018
1 parent aca90aa commit 0f75b87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions aqua/LyX/Portfile
Expand Up @@ -80,14 +80,21 @@ variant qt4 conflicts qt5 description {Use Qt4} {
variant qt5 conflicts qt4 description {Use Qt5} {
PortGroup qt5 1.0

depends_lib-append port:qt5-qtmacextras
qt5.depends_component qtbase \
qtmacextras \
qtsvg

configure.cxxflags-append -std=c++11
configure.pre_args --prefix=${applications_dir}/LyX.app
configure.args --without-x \
--without-included-boost \
--enable-cxx11 \
--enable-optimization=-Os \
--with-version-suffix=-${branch} \
--with-qt-dir=${prefix}/libexec/qt5 --enable-qt5
--with-qt-dir=${prefix}/libexec/qt5 \
--with-qt-includes=${prefix}/libexec/qt5/include \
--with-qt-libraries=${prefix}/libexec/qt5/lib \
--enable-qt5
}

post-destroot {
Expand Down

0 comments on commit 0f75b87

Please sign in to comment.