Browse Source

postgresql: cleaned --with-foo config code

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
dfe18e2c42
  1. 20
      database/postgresql/postgresql.conf

20
database/postgresql/postgresql.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../postgresql/postgresql.conf
# Copyright (C) 2006 - 2007 The OpenSDE Project
# Copyright (C) 2006 - 2009 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -33,21 +33,13 @@ var_append extraconfopt " " "--with-gnu-ld"
# Enable thread-safety for libpq and ecpg by default
var_append confopt ' ' "--enable-thread-safety"
# SSL support
pkginstalled openssl && \
var_append extraconfopt " " "--with-openssl"
# --with-tcl build Tcl modules (PL/Tcl)
# Perl module support (PL/Perl)
if pkginstalled perl; then
var_append extraconfopt " " "--with-perl"
fi
# Python modules support (PL/Python)
if pkginstalled python; then
var_append extraconfopt " " "--with-python"
fi
for x in openssl perl python; do
if pkginstalled $x; then
var_append extraconfopt " " "--with-$x"
fi
done
postgresql_pm() {
# Create the data directory

Loading…
Cancel
Save