Revision: 145220 https://trac.macports.org/changeset/145220 Author: michaelld@macports.org Date: 2016-01-28 11:21:27 -0800 (Thu, 28 Jan 2016) Log Message: ----------- qca: whitespace. Modified Paths: -------------- trunk/dports/devel/qca/Portfile Modified: trunk/dports/devel/qca/Portfile =================================================================== --- trunk/dports/devel/qca/Portfile 2016-01-28 19:19:52 UTC (rev 145219) +++ trunk/dports/devel/qca/Portfile 2016-01-28 19:21:27 UTC (rev 145220) @@ -16,21 +16,21 @@ features: SSL/TLS, X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers \ (BlowFish, 3DES, AES). Functionality is supplied via plugins. -platforms darwin +platforms darwin -homepage http://delta.affinix.com/qca/ -master_sites http://delta.affinix.com/download/qca/2.0/ +homepage http://delta.affinix.com/qca/ +master_sites http://delta.affinix.com/download/qca/2.0/ -checksums rmd160 30358bbd182cfeb9eaa696b5b39fa9e6d1f99b4c \ - sha256 226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284 +checksums rmd160 30358bbd182cfeb9eaa696b5b39fa9e6d1f99b4c \ + sha256 226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284 - # (1) correct pkgconfig file for framework install, if selected. # (2) allow for 'debug' and 'framework' options at the same time. # This change is needed to allow for +debug [+framework] -- # disallow just debug framework via no variants for it. # (3) allow simple replacement for universal arch arguments, if that # variant is requested. + patchfiles patch-qca_basic_h.diff \ patch-CMakeLists_txt.diff @@ -39,10 +39,12 @@ # remove unnecessary Carbon #include, which fails on 10.8 #patchfiles-append patch-src_qac_systemstore_mac.cpp.diff + variant qt4 conflicts qt5 description "Build with qt4" { PortGroup qt4 1.0 configure.args-append "-DQT4_BUILD=ON" + } variant qt5 conflicts qt4 description "Build with qt5" { @@ -57,12 +59,14 @@ } # make sure -qt4 wasn't specified alone + if {![variant_isset qt4] && ![variant_isset qt5]} { ui_error "\n\nYou must select either the +qt4 or +qt5 variant to build ${name}\n" return -code error "Invalid variant selection" } # allow ccache, if specified by the user + pre-build { if {[tbool configure.ccache]} { build.post_args "CCACHE=ccache"
participants (1)
-
michaelld@macports.org