Ticket #47290: digikam-mysql.diff
File digikam-mysql.diff, 1.0 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 build external MySQL database support 167 168 variant mysql_external description {Enable external MySQL database support} {} 169 170 if {[variant_isset mysql_external]} { 171 configure.args-append -DENABLE_MYSQLSUPPORT=ON 172 depends_lib-append path:bin/mysql_config:mysql56 \ 173 } else { 174 configure.args-append -DENABLE_MYSQLSUPPORT=OFF 175 } 176 166 177 # Option to check MySQL availability before compiling target 167 178 168 variant mysql_ check description {Check MySQL availability before building digiKam} {}179 variant mysql_internal description {Enable support for internal MySQL database} {} 169 180 170 if {[variant_isset mysql_ check]} {181 if {[variant_isset mysql_internal]} { 171 182 configure.args-append -DENABLE_INTERNALMYSQL=on 172 173 depends_lib-append path:bin/mysql_config5:mysql5 \ 183 depends_lib-append path:bin/mysql_config:mysql56 \ 174 184 } else { 175 185 configure.args-append -DENABLE_INTERNALMYSQL=off 176 186 }