Commits

Marcus Calhoun-Lopez authored 1d9250b0d15
qt5-qtcreator: fail early on unsupported systems

See https://trac.macports.org/ticket/58504
No tags

devel/qt5-qtcreator/Portfile

Modified
19 19
20 20 homepage http://qt-project.org/wiki/Category:Tools::QtCreator
21 21 distname qt-creator-opensource-src-${version}
22 22 master_sites https://download.qt.io/official_releases/qtcreator/[join [lrange [split ${version} .] 0 1] .]/${version}/
23 23
24 24 checksums rmd160 b4f4f480283b0bdcb6830fb0de83f1856c5d3d77 \
25 25 sha256 12d3e2963b83a82d1a7699211061032cd293d3672cac72b46d3e3ae492c98719 \
26 26 size 32435059
27 27
28 28 pre-fetch {
29 - if {${os.platform} eq "darwin" && ${os.major} < 12} {
29 + if {${os.platform} eq "darwin" && ${os.major} < 16} {
30 30 # last version that runs on Lion is 3.6.1
31 - ui_error "${subport} requires OS X 10.8 or later"
31 + # see https://trac.macports.org/ticket/58504
32 + ui_error "${subport} requires OS X 10.12 or later"
32 33 return -code error "incompatible OS version"
33 34 }
34 35 }
35 36
36 37 # qtcreator does not depend directly on openssl
37 38 # qtcreator links against QtNetwork.framework, and any OpenSSL functionality
38 39 # used is through QtNetwork
39 40 license_noconflict openssl
40 41
41 42 # avoid make[4]: write error

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut