Ticket #40487: Portfile-postgresql93.diff
File Portfile-postgresql93.diff, 3.0 KB (added by gregori.emiliano@…, 11 years ago) |
---|
-
Portfile
old new 51 51 # Neither is PostGIS 2.0 compatible with PostGreSQL 8 52 52 53 53 variant postgresql90 description {Builds with postgresql 9.0} \ 54 conflicts postgresql91 postgresql92 {54 conflicts postgresql91 postgresql92 postgresql93 { 55 55 depends_lib-append port:postgresql90 56 56 archcheck.files-append lib/postgresql90/libpq.dylib 57 57 configure.args-append --libdir=${prefix}/lib/postgresql90\ … … 61 61 } 62 62 63 63 variant postgresql91 description {Builds with postgresql 9.1} \ 64 conflicts postgresql90 postgresql92 {64 conflicts postgresql90 postgresql92 postgresql93 { 65 65 depends_lib-append port:postgresql91 66 66 archcheck.files-append lib/postgresql91/libpq.dylib 67 67 configure.args-append --libdir=${prefix}/lib/postgresql91\ … … 71 71 } 72 72 73 73 variant postgresql92 description {Builds with postgresql 9.2} \ 74 conflicts postgresql90 postgresql91 {74 conflicts postgresql90 postgresql91 postgresql93 { 75 75 depends_lib-append port:postgresql92 76 76 archcheck.files-append lib/postgresql92/libpq.dylib 77 77 configure.args-append --libdir=${prefix}/lib/postgresql92\ 78 78 --with-pgconfig=${prefix}/lib/postgresql92/bin/pg_config 79 build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql91\ 79 build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql92\ 80 PGSQL_MANDIR=${destroot}${prefix}/share/man 81 } 82 83 variant postgresql93 description {Builds with postgresql 9.3} \ 84 conflicts postgresql90 postgresql91 postgresql92 { 85 depends_lib-append port:postgresql93 86 archcheck.files-append lib/postgresql93/libpq.dylib 87 configure.args-append --libdir=${prefix}/lib/postgresql93\ 88 --with-pgconfig=${prefix}/lib/postgresql93/bin/pg_config 89 build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql93\ 80 90 PGSQL_MANDIR=${destroot}${prefix}/share/man 81 91 } 82 92 … … 115 125 116 126 default_variants +raster +topology 117 127 118 if {![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] } {119 default_variants +postgresql9 2128 if {![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93]} { 129 default_variants +postgresql93 120 130 } 121 131 122 132 # Port phases … … 126 136 set PGVERSION postgresql90 127 137 } elseif {[variant_isset postgresql91]} { 128 138 set PGVERSION postgresql91 139 } elseif {[variant_isset postgresql92]} { 140 set PGVERSION postgresql92 129 141 } 130 142 131 143 system -W ${worksrcpath} "./autogen.sh" 132 144 } 133 145