Changeset 119774


Ignore:
Timestamp:
May 6, 2014, 12:31:01 PM (5 years ago)
Author:
nicos@…
Message:

amarok: adding proper detection of the sql variant

Location:
trunk/dports/kde/amarok
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/amarok/Portfile

    r119773 r119774  
    88conflicts           amarok-devel
    99version             2.6.0
    10 revision            1
     10revision            2
    1111categories          kde kde4
    1212maintainers         nomaintainer
     
    3232
    3333patchfiles          patch-src-app_mac.cpp.diff \
    34                     patch-TrayIcon.diff
     34                    patch-TrayIcon.diff \
     35                    patch-FindMySQLAmarok.diff
    3536
    3637# prototype for 'Dynamic::BiasPtr Dynamic::AbstractBiasFactory::createFromXml(QCoreXmlStreamReader*)' does not match any in class 'Dynamic::AbstractBiasFactory'
    3738universal_variant   no
     39
     40pre-configure {
     41    reinplace "s|@PREFIX@|${prefix}|g" \
     42        ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     43}
    3844
    3945variant mysql51 \
     
    4248
    4349    depends_lib-append      port:mysql51
     50
     51    pre-configure {
     52        reinplace "s|@MYSQL@|mysql51|g" \
     53            ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     54    }
    4455}
    4556
     
    4960
    5061    depends_lib-append      port:mysql55
     62
     63    pre-configure {
     64        reinplace "s|@MYSQL@|mysql55|g" \
     65            ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     66    }
    5167}
    5268
     
    5672
    5773    depends_lib-append      port:mysql56
     74
     75    pre-configure {
     76        reinplace "s|@MYSQL@|mysql56|g" \
     77            ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     78    }
    5879}
    5980
     
    6384
    6485    depends_lib-append      port:mariadb
     86
     87    pre-configure {
     88        reinplace "s|@MYSQL@|mariadb|g" \
     89            ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     90    }
    6591}
    6692
     
    7096
    7197    depends_lib-append      port:percona
     98
     99    pre-configure {
     100        reinplace "s|@MYSQL@|percona|g" \
     101            ${worksrcpath}/cmake/modules/FindMySQLAmarok.cmake
     102    }
    72103}
    73104
Note: See TracChangeset for help on using the changeset viewer.