aboutsummaryrefslogtreecommitdiff
path: root/package/tcl
diff options
context:
space:
mode:
authorGravatar Vicente Olivert Riera <Vincent.Riera@imgtec.com>2016-03-30 17:14:10 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-30 19:28:59 +0200
commitbd2b84e241e3f1ee135ad9b3ec43dbca25647d25 (patch)
tree1f3e098f9a12f9d76c2ab76b3fd63eec05b154d3 /package/tcl
parent6fdc1401f156044c08e2180079623210c3256088 (diff)
downloadbuildroot-bd2b84e241e3f1ee135ad9b3ec43dbca25647d25.tar.gz
buildroot-bd2b84e241e3f1ee135ad9b3ec43dbca25647d25.tar.bz2
tcl: enable postgresql support
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/tcl')
-rw-r--r--package/tcl/tcl.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/tcl/tcl.mk b/package/tcl/tcl.mk
index 8ac6644c11..a1153c7231 100644
--- a/package/tcl/tcl.mk
+++ b/package/tcl/tcl.mk
@@ -36,7 +36,7 @@ define TCL_REMOVE_PACKAGES
rm -fr $(@D)/pkgs/sqlite3* \
$(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \
$(@D)/pkgs/tdbcodbc* \
- $(@D)/pkgs/tdbcpostgres* \
+ $(if $(BR2_PACKAGE_POSTGRESQL),,$(@D)/pkgs/tdbcpostgres*) \
$(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*)
endef
TCL_PRE_CONFIGURE_HOOKS += TCL_REMOVE_PACKAGES
@@ -73,7 +73,8 @@ endef
TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA
TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \
- $(if $(BR2_PACKAGE_MYSQL),mysql)
+ $(if $(BR2_PACKAGE_MYSQL),mysql) \
+ $(if $(BR2_PACKAGE_POSTGRESQL),postgresql)
HOST_TCL_DEPENDENCIES =
$(eval $(autotools-package))