Ticket #36468: Portfile_py-psycopg2.diff
File Portfile_py-psycopg2.diff, 2.2 KB (added by ch@…, 12 years ago) |
---|
-
Portfile
old new 59 59 s|@PG_CONFIG@|${prefix}/lib/postgresql91/bin/pg_config|g \ 60 60 ${worksrcpath}/setup.cfg 61 61 } 62 63 if {[variant_isset postgresql92]} { 64 reinplace \ 65 s|@PG_CONFIG@|${prefix}/lib/postgresql92/bin/pg_config|g \ 66 ${worksrcpath}/setup.cfg 67 } 62 68 } 63 69 64 70 livecheck.type none … … 68 74 } 69 75 70 76 71 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] } {77 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92]} { 72 78 default_variants +postgresql90 73 79 } 74 80 75 variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 description "Build using postgresql v8.3" {81 variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 postgresql92 description "Build using postgresql v8.3" { 76 82 depends_lib-append port:postgresql83 77 83 } 78 84 79 variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 description "Build using postgresql v8.4" {85 variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 postgresql92 description "Build using postgresql v8.4" { 80 86 depends_lib-append port:postgresql84 81 87 } 82 88 83 variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 description "Build using postgresql v9.0" {89 variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 postgresql92 description "Build using postgresql v9.0" { 84 90 depends_lib-append port:postgresql90 85 91 } 86 92 87 variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 description "Build using postgresql v9.1" {93 variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 postgresql92 description "Build using postgresql v9.1" { 88 94 depends_lib-append port:postgresql91 89 95 } 96 97 variant postgresql92 conflicts postgresql83 postgresql84 postgresql90 postgresql91 description "Build using postgresql v9.2" { 98 depends_lib-append port:postgresql92 99 }