[Lunar-commits] r14645 - moonbase/trunk/sql/postgresql

Florin Braescu florin at lunar-linux.org
Sat May 7 17:29:30 UTC 2005


Author: florin
Date: 2005-05-07 17:29:25 +0000 (Sat, 07 May 2005)
New Revision: 14645

Modified:
   moonbase/trunk/sql/postgresql/BUILD
Log:
add support for pam, perl, python and openssl. 

Modified: moonbase/trunk/sql/postgresql/BUILD
===================================================================
--- moonbase/trunk/sql/postgresql/BUILD	2005-05-07 17:27:23 UTC (rev 14644)
+++ moonbase/trunk/sql/postgresql/BUILD	2005-05-07 17:29:25 UTC (rev 14645)
@@ -1,9 +1,24 @@
 (
 
-  add_priv_user postgres:postgres       &&
-  ./configure  --prefix=/usr            \
-               --with-libs="-lncurses"  &&
+  if module_installed tcl ; then
+     OPTS=$OPTS" --with-tcl"
+  fi 
+
+  if module_installed perl ; then
+     OPTS=$OPTS" --with-perl"
+  fi 
+
+  if module_installed Python ; then
+     OPTS=$OPTS" --with-python"
+  fi 
+
+  if module_installed Linux-PAM ; then
+     OPTS=$OPTS" --with-pam"
+  fi 
+
+  add_priv_user postgres:postgres  &&
+  ./configure  --prefix=/usr        \
+	       $OPTS               &&
   default_make                                  
 
 ) > $C_FIFO 2>&1
-



More information about the Lunar-commits mailing list