Forráskód Böngészése

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>
Arnout Vandecappelle (Essensium/Mind) 4 éve
szülő
commit
148e8c92b9
2 módosított fájl, 2 hozzáadás és 1 törlés
  1. 1 1
      package/Config.in
  2. 1 0
      package/postgis/Config.in

+ 1 - 1
package/Config.in

@@ -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"

+ 1 - 0
package/postgis/Config.in

@@ -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