You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
gdal: cleanup after 0659a06
- correct installation message - move variant error messages to pre-fetch blocks, and refer to the new sub-ports correctly
This commit is contained in:
committed by
Renee Otten
parent
fe6accb8b2
commit
f217ed3ae1
+10
-6
@@ -323,10 +323,10 @@ if {$subport eq $name} {
|
||||
# Register plugins
|
||||
configure.args-append \
|
||||
-DGDAL_REGISTER_DRIVER_PDF_FOR_LATER_PLUGIN=ON \
|
||||
-DGDAL_DRIVER_PDF_PLUGIN_INSTALLATION_MESSAGE="Install the PDF driver with 'sudo port gdal-pdf'." \
|
||||
-DGDAL_DRIVER_PDF_PLUGIN_INSTALLATION_MESSAGE="Install the PDF driver with 'sudo port install gdal-pdf'." \
|
||||
-DGDAL_USE_POPPLER=ON \
|
||||
-DOGR_REGISTER_DRIVER_LIBKML_FOR_LATER_PLUGIN=ON \
|
||||
-DOGR_DRIVER_LIBKML_PLUGIN_INSTALLATION_MESSAGE="Install the LIBKML driver with 'sudo port gdal-libkml'." \
|
||||
-DOGR_DRIVER_LIBKML_PLUGIN_INSTALLATION_MESSAGE="Install the LIBKML driver with 'sudo port install gdal-libkml'." \
|
||||
-DGDAL_USE_LIBKML=OFF
|
||||
|
||||
depends_build-append \
|
||||
@@ -456,8 +456,10 @@ if {$subport eq $name} {
|
||||
}
|
||||
|
||||
variant libkml description {Enable libkml} {
|
||||
ui_error "The '+libkml' variant is removed. It is replaced by 'grass-libkml' subport."
|
||||
return -code error "unsupported variant"
|
||||
pre-fetch {
|
||||
ui_error "The '+libkml' variant has been removed and replaced by the 'gdal-libkml' subport."
|
||||
return -code error "unsupported variant"
|
||||
}
|
||||
}
|
||||
|
||||
variant lto description {Enable Link Time Optimization} {
|
||||
@@ -550,8 +552,10 @@ if {$subport eq $name} {
|
||||
}
|
||||
|
||||
variant poppler description {Enable Poppler support} {
|
||||
ui_error "The '+poppler' variant is removed. It is replaced by 'grass-pdf' subport."
|
||||
return -code error "unsupported variant"
|
||||
pre-fetch {
|
||||
ui_error "The '+poppler' variant has been removed and replaced by the 'gdal-pdf' subport."
|
||||
return -code error "unsupported variant"
|
||||
}
|
||||
}
|
||||
|
||||
variant tiledb description {Enable TileDB support} {
|
||||
|
||||
Reference in New Issue
Block a user