[119769] trunk/dports/kde/amarok/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue May 6 02:55:57 PDT 2014
On May 6, 2014, at 04:11, nicos at macports.org wrote:
> Revision
> 119769
> Author
> nicos at macports.org
> Date
> 2014-05-06 02:11:38 -0700 (Tue, 06 May 2014)
> Log Message
>
> amarok: suppressing mysql5 dependency, adding standard db variants
> --- trunk/dports/kde/amarok/Portfile 2014-05-06 04:37:14 UTC (rev 119768)
> +++ trunk/dports/kde/amarok/Portfile 2014-05-06 09:11:38 UTC (rev 119769)
> @@ -27,11 +28,53 @@
> depends_lib-append port:kde4-runtime port:kdelibs4 \
> port:qtscriptgenerator port:liblastfm \
> port:taglib port:taglib-extras \
> - port:loudmouth port:qca port:libmtp port:libgpod \
> - path:lib/mysql5/mysql/libmysqld.a:mysql5
> + port:loudmouth port:qca port:libmtp port:libgpod
>
> patchfiles patch-src-app_mac.cpp.diff \
> patch-TrayIcon.diff
>
> # prototype for 'Dynamic::BiasPtr Dynamic::AbstractBiasFactory::createFromXml(QCoreXmlStreamReader*)' does not match any in class 'Dynamic::AbstractBiasFactory'
> universal_variant no
> +
> +variant mysql51 \
> + conflicts mysql55 mysql56 mariadb55 percona55 \
> + description {build with mysql51 port} {
> +
> + depends_lib-append port:mysql51
> +}
> +
> +variant mysql55 \
> + conflicts mysql51 mysql56 mariadb55 percona55 \
> + description {build with mysql55 port} {
> +
> + depends_lib-append port:mysql55
> +}
> +
> +variant mysql56 \
> + conflicts mysql51 mysql55 mariadb55 percona55 \
> + description {build with mysql56 port} {
> +
> + depends_lib-append port:mysql56
> +}
> +
> +variant mariadb55 \
> + conflicts mysql51 mysql55 mysql56 percona55 \
> + description {build with mariadb port} {
> +
> + depends_lib-append port:mariadb
> +}
> +
> +variant percona55 \
> + conflicts mysql51 mysql55 mysql56 mariadb55 \
> + description {build with percona55 port} {
> +
> + depends_lib-append port:percona
> +}
> +
> +if {![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mysql56] \
> + && ![variant_isset mariadb55] && ![variant_isset percona55]} {
> + default_variants +mariadb55
> +}
But you don’t seem to be informing the build system how to use each of those different mysqls.
More information about the macports-dev
mailing list