From 8f351617b4fc0bf98a2ebdd53325ff1fc1a3e84b Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Fri, 29 Apr 2011 14:20:19 +0200 Subject: [PATCH] asterisk: improved postgresql detection --- network/asterisk/asterisk.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/network/asterisk/asterisk.conf b/network/asterisk/asterisk.conf index 086f6ea48..2ac01eaf6 100644 --- a/network/asterisk/asterisk.conf +++ b/network/asterisk/asterisk.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # 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) 1998 - 2004 Clifford Wolf # @@ -34,7 +34,7 @@ makeinstopt="$makeopt install" var_append makeinstopt " " "samples" -if pkginstalled postgresql; then - var_append GCC_WRAPPER_INSERT " " "-I/opt/postgresql/include" - var_append GCC_WRAPPER_INSERT " " "-L/opt/postgresql/lib" +# postgresql support +if pkginstalled -f postgresql; then + var_append extraconfopt ' ' "--with-postgres=$( pkgprefix -r postgresql )" fi