Ignore:
Timestamp:
Sep 28, 2009, 6:15:27 PM (10 years ago)
Author:
snc@…
Message:

add postgresql variant, and conflicts, ticket #21446

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/sphinx/Portfile

    r56082 r58432  
     1# -*- 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
    12# $Id$
    23
     
    2930test.run         yes
    3031
    31 variant postgres description {Enable PostgreSQL support for old PgSQL 8.2} {
     32variant postgres conflicts postgresql83 postgresql84 description {Enable PostgreSQL support for old PgSQL 8.2} {
    3233    depends_lib-append      port:postgresql82
    3334    depends_lib-delete      path:bin/mysql_config5:mysql5
     
    3839}
    3940
    40 variant postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.3} {
     41variant postgresql83 conflicts postgresql postgresql84 description {Enable PostgreSQL support for newer PgSQL v8.3} {
    4142    depends_lib-append      port:postgresql83
    4243    depends_lib-delete      path:bin/mysql_config5:mysql5
     
    4647    configure.args-delete   --with-mysql-includes
    4748}
     49
     50variant postgresql84 conflicts postgresql postgresql83 description {Enable PostgreSQL support for newer PgSQL v8.4} {
     51    depends_lib-append      port:postgresql84
     52    depends_lib-delete      path:bin/mysql_config5:mysql5
     53    configure.args-append   --with-pgsql
     54    configure.args-append   --with-pgsql-includes=${prefix}/include/postgresql84
     55    configure.args-append   --with-pgsql-libs=${prefix}/lib/postgresql84
     56    configure.args-delete   --with-mysql-includes
     57}
Note: See TracChangeset for help on using the changeset viewer.