Ignore:
Timestamp:
Jul 28, 2008, 2:48:23 PM (11 years ago)
Author:
macsforever2000@…
Message:

Fixed client_only variant name in conflict. client_only now is the default variant if no other variant is selected. Thanks to ryandesign for spotting these issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/bacula/Portfile

    r38660 r38669  
    5959
    6060variant client_only conflicts mysql4 mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" {
    61     configure.args-append --enable-client-only
     61  configure.args-append --enable-client_only
    6262}
    6363
    64 variant mysql4 conflicts client-only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {
     64variant mysql4 conflicts client_only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {
    6565  depends_lib-append    port:mysql4
    6666  configure.args-append --with-mysql=${prefix}
     
    6868}
    6969
    70 variant mysql5 conflicts client-only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
     70variant mysql5 conflicts client_only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
    7171  depends_lib-append    port:mysql5
    7272  configure.args-append --with-mysql=${prefix}
     
    7474}
    7575
    76 variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client-only description "Install bacula client and server with postgresql 8.3 backend" {
     76variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {
    7777  depends_lib-append    port:postgresql83
    7878  configure.args-append --with-postgresql=${prefix}
     
    8080}
    8181
    82 variant sqlite2 conflicts client-only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" {
     82variant sqlite2 conflicts client_only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" {
    8383  depends_lib-append    port:sqlite2
    8484  configure.args-append --with-sqlite=${prefix}
     
    8686}
    8787
    88 variant sqlite3 conflicts client-only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" {
     88variant sqlite3 conflicts client_only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" {
    8989  depends_lib-append    port:sqlite3
    9090  configure.args-append --with-sqlite3=${prefix}
     
    9292}
    9393
    94 default_variants        +client_only
     94if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} {
     95  default_variants +client_only
     96}
Note: See TracChangeset for help on using the changeset viewer.