New commits:
commit b2adb960643641d0510e6314413d871c390b4d3d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
postgresql: => 9.2.3 (security)
diff --git a/database/postgresql/CONFIGURE b/database/postgresql/CONFIGURE
index 50acd4a..bdce0fb 100755
--- a/database/postgresql/CONFIGURE
+++ b/database/postgresql/CONFIGURE
@@ -1,7 +1,6 @@
-# No && because the line below will fail if there's no postgresql installed
-OLDVERSION=$(installed_version $SPELL)
+spell_ok $SPELL && local OLDVERSION="$(installed_version $SPELL)" || return 0
-if spell_ok $SPELL && [[ ${OLDVERSION%.*} != ${VERSION%.*} ]]; then
+if [[ ${OLDVERSION%.*} != ${VERSION%.*} ]]; then
message "${PROBLEM_COLOR}" &&
message "You are about to upgrade (downgrade) your PostgreSQL installation
to a" &&
message "different major version, please be aware that a database
repository will only" &&
diff --git a/database/postgresql/DEPENDS b/database/postgresql/DEPENDS
index abdbf02..b0482e6 100755
--- a/database/postgresql/DEPENDS
+++ b/database/postgresql/DEPENDS
@@ -1,3 +1,8 @@
+optional_depends gettext \
+ "--with-nls" \
+ "--without-nls" \
+ "for Native Language Support" &&
+
optional_depends tcl \
"--with-tcl" \
"--without-tcl" \
@@ -18,6 +23,11 @@ optional_depends linux-pam \
"--without-pam" \
"for PAM authentication" &&