From a7d6fb58f80e371448e5154e3d7a70e564c15b26 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Tue, 28 Jul 2009 19:32:28 -0400 Subject: [PATCH] postgresql: enhanced .conf to build without readline if not installed --- database/postgresql/postgresql.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/database/postgresql/postgresql.conf b/database/postgresql/postgresql.conf index 6900c298d..d269d4fb8 100644 --- a/database/postgresql/postgresql.conf +++ b/database/postgresql/postgresql.conf @@ -41,6 +41,12 @@ for x in openssl perl python; do fi done +for x in readline; do + if ! pkginstalled $x; then + var_append extraconfopt " " "--without-$x" + fi +done + postgresql_pm() { # Create the data directory mkdir -p $root/$localstatedir/data