Ticket #20746: Portfile-py26-psycopg2.diff
File Portfile-py26-psycopg2.diff, 1.6 KB (added by lperry (Perry Lee), 15 years ago) |
---|
-
Portfile
28 28 patchfiles patch-setup.cfg.diff 29 29 30 30 31 if {![variant_isset postgresql82] && ![variant_isset postgresql83] } {32 default_variants +postgresql8 331 if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84]} { 32 default_variants +postgresql84 33 33 } 34 34 35 variant postgresql82 conflicts postgresql83 description "Build using postgresql v8.2" {35 variant postgresql82 conflicts postgresql83 postgresql84 description "Build using postgresql v8.2" { 36 36 depends_lib-append port:postgresql82 37 37 38 38 post-patch { 39 39 reinplace \ 40 40 s|@PG_CONFIG@|${prefix}/lib/postgresql82/bin/pg_config|g \ … … 42 42 } 43 43 } 44 44 45 variant postgresql83 conflicts postgresql82 description "Build using postgresql v8.3" {45 variant postgresql83 conflicts postgresql82 postgresql84 description "Build using postgresql v8.3" { 46 46 depends_lib-append port:postgresql83 47 47 48 48 post-patch { 49 49 reinplace \ 50 50 s|@PG_CONFIG@|${prefix}/lib/postgresql83/bin/pg_config|g \ … … 52 52 } 53 53 } 54 54 55 variant postgresql84 conflicts postgresql82 postgresql83 description "Build using postgresql v8.4" { 56 depends_lib-append port:postgresql84 57 58 post-patch { 59 reinplace \ 60 s|@PG_CONFIG@|${prefix}/lib/postgresql84/bin/pg_config|g \ 61 ${worksrcpath}/setup.cfg 62 } 63 } 64 55 65 livecheck.url ${master_sites} 56 66 livecheck.regex "psycopg2-(\\d+\\.\\d+(\\.\\d+)?)"