[69765] trunk/dports/devel/bugzilla/Portfile

jmr at macports.org jmr at macports.org
Thu Jul 15 15:25:50 PDT 2010


Revision: 69765
          http://trac.macports.org/changeset/69765
Author:   jmr at macports.org
Date:     2010-07-15 15:25:49 -0700 (Thu, 15 Jul 2010)
Log Message:
-----------
bugzilla: change default database to mysql5 to match dependency p5-dbd-mysql (#25702)

Modified Paths:
--------------
    trunk/dports/devel/bugzilla/Portfile

Modified: trunk/dports/devel/bugzilla/Portfile
===================================================================
--- trunk/dports/devel/bugzilla/Portfile	2010-07-15 22:19:02 UTC (rev 69764)
+++ trunk/dports/devel/bugzilla/Portfile	2010-07-15 22:25:49 UTC (rev 69765)
@@ -4,7 +4,7 @@
 
 name			bugzilla
 version			2.22.3
-revision		1
+revision		2
 categories		devel www databases
 maintainers		nomaintainer
 platforms               darwin
@@ -29,7 +29,6 @@
                         rmd160  787f84e343297b1a8caee8310354e01f7c8cc2f8
 
 depends_lib		port:apache2 \
-			port:mysql4 \
 			path:bin/perl:perl5 \
 			port:p5-appconfig \
 			port:p5-timedate \
@@ -47,10 +46,15 @@
 			port:p5-perl-ldap \
 			port:p5-xml-twig
 
-variant mysql5 description "Use mysql5 instead of mysql4" {
-                        depends_lib-delete   port:mysql4
-                        depends_lib-append   path:bin/mysql_config5:mysql5
+variant mysql4 conflicts mysql5 description "Use mysql4 database" {
+                depends_lib-append   port:mysql4
 }
+variant mysql5 conflicts mysql4 description "Use mysql5 database" {
+                depends_lib-append   path:bin/mysql_config5:mysql5
+}
+if {![variant_isset mysql4]} {
+    default_variants +mysql5
+}
 
 patchfiles		patch-checksetup.pl
 post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100715/1b641da5/attachment.html>


More information about the macports-changes mailing list