package/Config.in: change postgresql condition
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 15 Apr 2021 20:27:47 +0000 (22:27 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thu, 15 Apr 2021 20:27:47 +0000 (22:27 +0200)
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>
package/Config.in
package/postgis/Config.in

index c5014faba13de71ebafbd27b6c5bd0440bb39522..0d7cb0f446a7922d4401312b4e9941dd00f4c23a 100644 (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"
index 12d8899a2beffbb504924e5a71fd7cee14e2b05b..d73ece17a6397eff63b1a20a5b9e91329b33e2de 100644 (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