[120162] trunk/dports/lang/qore-mysql-module

Ryan Schmidt ryandesign at macports.org
Sat May 17 14:04:37 PDT 2014


On May 17, 2014, at 10:27, davidnichols at macports.org wrote:

> Revision
> 120162
> Author
> davidnichols at macports.org
> Date
> 2014-05-17 08:27:28 -0700 (Sat, 17 May 2014)
> Log Message
> 
> implemented mariadb (default) and mysql56 variants, included patches for compiling on Mavericks with XCode 5.1, cannot use -Wl,-x in link anymore since Apple LLVM 5.1 will fail with optimizations enabled
> Modified Paths
> 
> 	• trunk/dports/lang/qore-mysql-module/Portfile


> +patchfiles          patch-configure
> +
> +variant mariadb {
> +    depends_lib-append      port:mariadb
> +}
> +
> +variant mysql56 { 
> +    depends_lib-append      port:mysql56
> +}
> +
> +if {![variant_isset mariadb] && ![variant_isset mysql56]} {
> +    default_variants +mariadb
> +}

You should add mysql51, mysql55 and percona variants as well.

The variants need to be marked as conflicting with one another.

By what means are you informing the build system which mysql to use?



More information about the macports-dev mailing list