Ignore:
Timestamp:
Apr 21, 2014, 6:17:54 AM (5 years ago)
Author:
pixilla@…
Message:

databases/dbslayer:

  • Remove mysql5 variant making mysql56 the new default.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/dbslayer/Portfile

    r95899 r119234  
    66name                dbslayer
    77version             beta-12
     8revision            1
    89categories          databases lang www
    910maintainers         pixilla openmaintainer
     
    5051}
    5152
    52 variant mysql5 \
    53     conflicts mysql51 mysql55 mariadb percona \
    54     description {build with mysql5 port} {
    55 
    56     depends_lib-append      port:mysql5
    57     configure.args-append   --with-mysql-config=${prefix}/lib/mysql5/bin/mysql_config
    58 }
    59 
    6053variant mysql51 \
    61     conflicts mysql5 mysql55 mariadb percona \
     54    conflicts mysql55 mysql56 mariadb percona \
    6255    description {build with mysql51 port} {
    6356
     
    6760
    6861variant mysql55 \
    69     conflicts mysql5 mysql51 mariadb percona \
     62    conflicts mysql51 mysql56 mariadb percona \
    7063    description {build with mysql55 port} {
    7164
     
    7467}
    7568
     69variant mysql56 \
     70    conflicts mysql51 mysql55 mariadb percona \
     71    description {build with mysql56 port} {
     72
     73    depends_lib-append      port:mysql56
     74    configure.args-append   --with-mysql-config=${prefix}/lib/mysql56/bin/mysql_config
     75}
     76
    7677variant mariadb \
    77     conflicts mysql5 mysql51 mysql55 percona \
     78    conflicts mysql51 mysql55 mysql56 percona \
    7879    description {build with mariadb port} {
    7980
     
    8384
    8485variant percona \
    85     conflicts mysql5 mysql51 mysql55 mariadb \
     86    conflicts mysql51 mysql55 mysql56 mariadb \
    8687    description {build with percona port} {
    8788
     
    9293if {
    9394
    94     ![variant_isset mysql5]
    95     && ![variant_isset mysql51]
     95    ![variant_isset mysql51]
    9696    && ![variant_isset mysql55]
     97    && ![variant_isset mysql56]
    9798    && ![variant_isset mariadb]
    9899    && ![variant_isset percona]
    99100} {
    100     default_variants    +mysql5
     101    default_variants    +mysql56
    101102}
    102103pre-fetch {
    103104    if {
    104105
    105         ![variant_isset mysql5]
    106         && ![variant_isset mysql51]
     106        ![variant_isset mysql51]
    107107        && ![variant_isset mysql55]
     108        && ![variant_isset mysql56]
    108109        && ![variant_isset mariadb]
    109110        && ![variant_isset percona]
    110111    } {
    111112
    112         return -code error "${name} requires one of these variants: +mysql5, +mysql51, +mysql55, +mariadb or +percona"
     113        ui_error "${name} requires one of these variants: +mysql51, +mysql55, +mysql56, +mariadb or +percona"
    113114    }
    114115}
Note: See TracChangeset for help on using the changeset viewer.