Browse Source

asterisk: improved postgresql detection

stable/0.2
Christian Wiese 14 years ago
parent
commit
8f351617b4
  1. 8
      network/asterisk/asterisk.conf

8
network/asterisk/asterisk.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/.../asterisk/asterisk.conf # Filename: package/.../asterisk/asterisk.conf
# Copyright (C) 2009 The OpenSDE Project # Copyright (C) 2009 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -34,7 +34,7 @@ makeinstopt="$makeopt install"
var_append makeinstopt " " "samples" var_append makeinstopt " " "samples"
if pkginstalled postgresql; then # postgresql support
var_append GCC_WRAPPER_INSERT " " "-I/opt/postgresql/include" if pkginstalled -f postgresql; then
var_append GCC_WRAPPER_INSERT " " "-L/opt/postgresql/lib" var_append extraconfopt ' ' "--with-postgres=$( pkgprefix -r postgresql )"
fi fi

Loading…
Cancel
Save