From 9bb72f01e9af7888b6216d15df2540bcee1e46bd Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Tue, 3 May 2011 18:48:59 +0200 Subject: [PATCH] asterisk: improved to find mysql client libraries --- network/asterisk/asterisk.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/network/asterisk/asterisk.conf b/network/asterisk/asterisk.conf index 2ac01eaf6..c08b7a22f 100644 --- a/network/asterisk/asterisk.conf +++ b/network/asterisk/asterisk.conf @@ -38,3 +38,8 @@ var_append makeinstopt " " "samples" if pkginstalled -f postgresql; then var_append extraconfopt ' ' "--with-postgres=$( pkgprefix -r postgresql )" fi + +# mysql support +if pkginstalled -f mysql; then + var_append extraconfopt ' ' "--with-mysqlclient=$( pkgprefix -r mysql )" +fi