Skip to content
Permalink
Browse files

texworks: Use qt5 on non-Darwin systems

  • Loading branch information
ryandesign committed Jun 28, 2019
1 parent f75ad49 commit ec9f46591ca32b99db4f723b1ba71fd57902dd02
Showing with 6 additions and 2 deletions.
  1. +6 −2 editors/texworks/Portfile
@@ -57,8 +57,12 @@ variant qtpdf description {Build with an experimental PDF viewer} {
configure.args-replace -DQTPDF_VIEWER=OFF -DQTPDF_VIEWER=ON
}

if { ![variant_isset qt5]} {
default_variants +qt4
if {![variant_isset qt4] && ![variant_isset qt5]} {
if {${os.platform} eq "darwin"} {
default_variants +qt4
} else {
default_variants +qt5
}
}

post-destroot {

0 comments on commit ec9f465

Please sign in to comment.
You can’t perform that action at this time.