[38669] trunk/dports/sysutils/bacula/Portfile

macsforever2000 at macports.org macsforever2000 at macports.org
Mon Jul 28 07:48:23 PDT 2008


Revision: 38669
          http://trac.macosforge.org/projects/macports/changeset/38669
Author:   macsforever2000 at macports.org
Date:     2008-07-28 07:48:23 -0700 (Mon, 28 Jul 2008)
Log 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.

Modified Paths:
--------------
    trunk/dports/sysutils/bacula/Portfile

Modified: trunk/dports/sysutils/bacula/Portfile
===================================================================
--- trunk/dports/sysutils/bacula/Portfile	2008-07-28 14:36:44 UTC (rev 38668)
+++ trunk/dports/sysutils/bacula/Portfile	2008-07-28 14:48:23 UTC (rev 38669)
@@ -58,37 +58,39 @@
 "\[ -r \${PID} \] && /bin/kill \$(cat \${PID})"
 
 variant client_only conflicts mysql4 mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client (bacula-fd) only" {
-    configure.args-append --enable-client-only
+  configure.args-append --enable-client_only
 }
 
-variant mysql4 conflicts client-only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {
+variant mysql4 conflicts client_only mysql5 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 4 backend" {
   depends_lib-append    port:mysql4
   configure.args-append --with-mysql=${prefix}
   configure.args-delete --without-mysql
 }
 
-variant mysql5 conflicts client-only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
+variant mysql5 conflicts client_only mysql4 postgresql83 sqlite2 sqlite3 description "Install bacula client and server with mysql 5 backend" {
   depends_lib-append    port:mysql5
   configure.args-append --with-mysql=${prefix}
   configure.args-delete --without-mysql
 }
 
-variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client-only description "Install bacula client and server with postgresql 8.3 backend" {
+variant postgresql83 conflicts mysql4 mysql5 sqlite2 sqlite3 client_only description "Install bacula client and server with postgresql 8.3 backend" {
   depends_lib-append    port:postgresql83
   configure.args-append --with-postgresql=${prefix}
   configure.args-delete --without-postgresql
 }
 
-variant sqlite2 conflicts client-only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" {
+variant sqlite2 conflicts client_only sqlite3 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 2 backend" {
   depends_lib-append    port:sqlite2
   configure.args-append --with-sqlite=${prefix}
   configure.args-delete --without-sqlite
 }
 
-variant sqlite3 conflicts client-only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" {
+variant sqlite3 conflicts client_only sqlite2 mysql4 mysql5 postgresql83 description "Install bacula client and server with sqlite 3 backend" {
   depends_lib-append    port:sqlite3
   configure.args-append --with-sqlite3=${prefix}
   configure.args-delete --without-sqlite3
 }
 
-default_variants        +client_only
+if {![variant_isset mysql4] && ![variant_isset mysql5] && ![variant_isset postgresql83] && ![variant_isset sqlite2] && ![variant_isset sqlite3]} {
+  default_variants +client_only
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080728/3dba5935/attachment.html 


More information about the macports-changes mailing list