Skip to content

Commit

Permalink
Lyx: set +qt5 as default; rearrange +debug so it works
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthindenburg committed Feb 22, 2018
1 parent 0f75b87 commit c20f1d9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions aqua/LyX/Portfile
Expand Up @@ -6,7 +6,7 @@ PortGroup cxx11 1.1
name LyX
conflicts LyX1
version 2.2.3
revision 3
revision 4
set branch [join [lrange [split ${version} .] 0 1] .]
categories aqua
license GPL-2+
Expand Down Expand Up @@ -52,8 +52,8 @@ post-configure {
${worksrcpath}/development/MacOSX/Makefile
}

if {![variant_isset qt5]} {
default_variants +qt4
if {![variant_isset qt4]} {
default_variants +qt5
}
default_variants-append +python27

Expand All @@ -62,10 +62,6 @@ variant python27 description {Use python27} {
configure.python ${prefix}/bin/python2.7
}

variant debug description {Build with debugging information} {
configure.args-append --enable-debug
}

variant qt4 conflicts qt5 description {Use Qt4} {
PortGroup qt4 1.0

Expand Down Expand Up @@ -97,6 +93,10 @@ variant qt5 conflicts qt4 description {Use Qt5} {
--enable-qt5
}

variant debug description {Build with debugging information} {
configure.args-append --enable-debug
}

post-destroot {
file delete -force ${destroot}${applications_dir}/LyX.app/Contents/Library/Spotlight
}
Expand Down

0 comments on commit c20f1d9

Please sign in to comment.