[58432] trunk/dports/textproc/sphinx/Portfile

snc at macports.org snc at macports.org
Mon Sep 28 11:15:27 PDT 2009


Revision: 58432
          http://trac.macports.org/changeset/58432
Author:   snc at macports.org
Date:     2009-09-28 11:15:27 -0700 (Mon, 28 Sep 2009)
Log Message:
-----------
add postgresql variant, and conflicts, ticket #21446

Modified Paths:
--------------
    trunk/dports/textproc/sphinx/Portfile

Modified: trunk/dports/textproc/sphinx/Portfile
===================================================================
--- trunk/dports/textproc/sphinx/Portfile	2009-09-28 17:55:35 UTC (rev 58431)
+++ trunk/dports/textproc/sphinx/Portfile	2009-09-28 18:15:27 UTC (rev 58432)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
 # $Id$
 
 PortSystem 1.0
@@ -28,7 +29,7 @@
 
 test.run         yes
 
-variant postgres description {Enable PostgreSQL support for old PgSQL 8.2} {
+variant postgres conflicts postgresql83 postgresql84 description {Enable PostgreSQL support for old PgSQL 8.2} {
     depends_lib-append      port:postgresql82
     depends_lib-delete      path:bin/mysql_config5:mysql5
     configure.args-append   --with-pgsql
@@ -37,7 +38,7 @@
     configure.args-delete   --with-mysql-includes
 }
 
-variant postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.3} {
+variant postgresql83 conflicts postgresql postgresql84 description {Enable PostgreSQL support for newer PgSQL v8.3} {
     depends_lib-append      port:postgresql83
     depends_lib-delete      path:bin/mysql_config5:mysql5
     configure.args-append   --with-pgsql
@@ -45,3 +46,12 @@
     configure.args-append   --with-pgsql-libs=${prefix}/lib/postgresql83
     configure.args-delete   --with-mysql-includes
 }
+
+variant postgresql84 conflicts postgresql postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.4} {
+    depends_lib-append      port:postgresql84
+    depends_lib-delete      path:bin/mysql_config5:mysql5
+    configure.args-append   --with-pgsql
+    configure.args-append   --with-pgsql-includes=${prefix}/include/postgresql84
+    configure.args-append   --with-pgsql-libs=${prefix}/lib/postgresql84
+    configure.args-delete   --with-mysql-includes
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090928/573037bd/attachment.html>


More information about the macports-changes mailing list