Ticket #27149: py26-pgsql-Portfile.diff
File py26-pgsql-Portfile.diff, 1004 bytes (added by matlads@…, 14 years ago) |
---|
-
Portfile
old new 35 35 demo2a.py demo2b.py ${destroot}${prefix}/share/doc/${name}/examples 36 36 } 37 37 38 variant postgresql90 conflicts postgresql84 postgresql83 description {Use with PostgreSQL 9.0} { 39 global build.env destroot.env 40 depends_lib-append port:postgresql90 41 build.env PATH="${prefix}/lib/postgresql90/bin:$env(PATH)" 42 destroot.env ${build.env} 43 } 44 38 45 variant postgresql83 conflicts postgresql84 description {Use with PostgreSQL 8.3} { 39 46 global build.env destroot.env 40 47 depends_lib-append port:postgresql83 … … 50 57 } 51 58 52 59 # Default to postgresql83 since that was the built-in version previously 53 if {![variant_isset postgresql83] && ![variant_isset postgresql84] }54 default_variants +postgresql 8360 if {![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90]} { 61 default_variants +postgresql90 55 62 } 56 63