package/Config.in: change postgresql condition

The condition around postgis was added to make a sort of submenu of the
postgresql extensions under postgresql itself. However, such a condition
should be on BR2_PACKAGE_POSTGRESQL, not on its suboption
BR2_PACKAGE_POSTGRESQL_FULL.

Change the condition in package/Config.in to BR2_PACKAGE_POSTGRESQL, and
move the BR2_PACKAGE_POSTGRESQL_FULL condition to
package/postgis/Config.in.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Arnout Vandecappelle (Essensium/Mind) 2021-04-15 22:27:47 +02:00
parent fceec33568
commit 148e8c92b9
2 changed files with 2 additions and 1 deletions

View File

@ -1407,7 +1407,7 @@ menu "Database"
source "package/mongodb/Config.in"
source "package/mysql/Config.in"
source "package/postgresql/Config.in"
if BR2_PACKAGE_POSTGRESQL_FULL
if BR2_PACKAGE_POSTGRESQL
source "package/postgis/Config.in"
endif
source "package/redis/Config.in"

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_POSTGIS
bool "postgis"
depends on BR2_PACKAGE_POSTGRESQL_FULL
depends on !BR2_microblazeel && !BR2_microblazebe # ICE
depends on BR2_INSTALL_LIBSTDCPP # proj
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj