mod_tile: replace postgresql15 variant with new default postgresql17

Following 'mapnik'.
This commit is contained in:
Nicklas Larsson
2025-11-18 09:00:45 +01:00
committed by Renee Otten
parent 477485149f
commit b77d6f01c9
+10 -10
View File
@@ -85,18 +85,18 @@ test.run yes
require_active_variants mapnik postgis
variant postgresql15 conflicts postgresql16 description {Use with PostgreSQL 15} {
set pgsqlbinpath "/lib/postgresql15/bin";
depends_lib-append port:postgresql15 \
port:pg15-postgis
}
variant postgresql16 conflicts postgresql15 description {Use with PostgreSQL 16} {
variant postgresql16 conflicts postgresql17 description {Use with PostgreSQL 16} {
set pgsqlbinpath "/lib/postgresql16/bin";
depends_lib-append port:postgresql16 \
port:pg16-postgis
}
variant postgresql17 conflicts postgresql16 description {Use with PostgreSQL 17} {
set pgsqlbinpath "/lib/postgresql17/bin";
depends_lib-append port:postgresql17 \
port:pg17-postgis
}
variant osmosis description {Perform incremental OSM updates} {
depends_run-append \
port:osmium-tool \
@@ -110,9 +110,9 @@ variant logrotate description {Logrotate configuration} {
default_variants +osmosis +logrotate
if {![variant_isset postgresql15] && ![variant_isset postgresql16]} {
set pgsqlbinpath "/lib/postgresql16/bin";
default_variants-append +postgresql16
if {![variant_isset postgresql16] && ![variant_isset postgresql17]} {
set pgsqlbinpath "/lib/postgresql17/bin";
default_variants-append +postgresql17
}
post-patch {