Ticket #47290: digikam-mysql-2015-04-14.diff
File digikam-mysql-2015-04-14.diff, 1.8 KB (added by sk-public@…, 10 years ago) |
---|
-
Portfile
old new 163 163 depends_lib-append port:lcms 164 164 } 165 165 166 # Option to check MySQL availability before compiling target166 # Option to enable internal MySQL server 167 167 168 variant mysql_ check description {Check MySQL availability before building digiKam} {}168 variant mysql_internal description {Enable support for internal MySQL database} {} 169 169 170 if {[variant_isset mysql_ check]} {170 if {[variant_isset mysql_internal]} { 171 171 configure.args-append -DENABLE_INTERNALMYSQL=on 172 173 depends_lib-append path:bin/mysql_config5:mysql5 \ 172 depends_lib-append path:bin/mysql_config:mysql5 \ 174 173 } else { 175 174 configure.args-append -DENABLE_INTERNALMYSQL=off 176 175 } 177 176 177 # Options to build external MySQL database support 178 179 variant mysql51_external \ 180 description {Enable external MySQL 5.1 database support} { 181 configure.args-append -DENABLE_MYSQLSUPPORT=ON 182 depends_lib-append port:qt4-mac-mysql51-plugin 183 } 184 185 variant mysql55_external \ 186 description {Enable external MySQL 5.5 database support} { 187 configure.args-append -DENABLE_MYSQLSUPPORT=ON 188 depends_lib-append port:qt4-mac-mysql55-plugin 189 } 190 191 variant mysql56_external \ 192 description {Enable external MySQL 5.6 database support} { 193 configure.args-append -DENABLE_MYSQLSUPPORT=ON 194 depends_lib-append port:qt4-mac-mysql56-plugin 195 } 196 197 variant mariadb_external \ 198 description {Enable external MySQL database support using MariaDB 5.5} { 199 configure.args-append -DENABLE_MYSQLSUPPORT=ON 200 depends_lib-append port:qt4-mac-mariadb-plugin 201 } 202 178 203 livecheck.type regex 179 204 livecheck.url http://kde-apps.org/content/show.php/digiKam+Software+Collection?content=137059 180 205 livecheck.regex "digiKam Software Collection.*(4\\.\\d+?(\\.\\d+))"