[47899] trunk/dports/databases/psycopg2/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Mar 9 12:53:11 PDT 2009


Revision: 47899
          http://trac.macports.org/changeset/47899
Author:   ryandesign at macports.org
Date:     2009-03-09 12:53:11 -0700 (Mon, 09 Mar 2009)
Log Message:
-----------
psycopg2: only select the postgresql83 variant by default if the user has not already chosen the postgresql82 variant.

Modified Paths:
--------------
    trunk/dports/databases/psycopg2/Portfile

Modified: trunk/dports/databases/psycopg2/Portfile
===================================================================
--- trunk/dports/databases/psycopg2/Portfile	2009-03-09 19:48:48 UTC (rev 47898)
+++ trunk/dports/databases/psycopg2/Portfile	2009-03-09 19:53:11 UTC (rev 47899)
@@ -28,7 +28,9 @@
 patchfiles          patch-setup.cfg.diff
 
 
-default_variants    +postgresql83
+if {![variant_isset postgresql82] && ![variant_isset postgresql83]} {
+    default_variants    +postgresql83
+}
 
 variant postgresql82 conflicts postgresql83 description "Build using postgresql v8.2" {
     depends_lib-append  port:postgresql82
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090309/7fbd53f1/attachment.html>


More information about the macports-changes mailing list