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

Loading…
Cancel
Save