aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2011-04-27 02:53:16 +0800
committerflo <flo@FreeBSD.org>2011-04-27 02:53:16 +0800
commita711e21c36d19d831f15506f998ef88ae6c51872 (patch)
treef6e89fd0d61185bd45010a53d98d450aef631cd6 /net/asterisk10
parent91acda89b102c08f21ebe78d49e6b98fdd4d5f0a (diff)
downloadfreebsd-ports-gnome-a711e21c36d19d831f15506f998ef88ae6c51872.tar.gz
freebsd-ports-gnome-a711e21c36d19d831f15506f998ef88ae6c51872.tar.zst
freebsd-ports-gnome-a711e21c36d19d831f15506f998ef88ae6c51872.zip
- add another patch to acually make WITH_MYSQL work
PR: ports/156638 Reported by: Eugene Varnavsky <varnavruz@gmail.com> Submitted by: Alexander Brovikov <alexander@brovikov.ru>
Diffstat (limited to 'net/asterisk10')
-rw-r--r--net/asterisk10/Makefile1
-rw-r--r--net/asterisk10/files/extra-patch-addons__.moduleinfo.diff24
2 files changed, 25 insertions, 0 deletions
diff --git a/net/asterisk10/Makefile b/net/asterisk10/Makefile
index 548d011f20a7..2f55bf32fcb5 100644
--- a/net/asterisk10/Makefile
+++ b/net/asterisk10/Makefile
@@ -161,6 +161,7 @@ PLIST_SUB+= WITH_MYSQL="@comment "
PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-menuselect-tree-mysql.diff
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-addons__.moduleinfo.diff
.endif
.if !defined(WITH_OGGVORBIS)
diff --git a/net/asterisk10/files/extra-patch-addons__.moduleinfo.diff b/net/asterisk10/files/extra-patch-addons__.moduleinfo.diff
new file mode 100644
index 000000000000..93cb3d904f2d
--- /dev/null
+++ b/net/asterisk10/files/extra-patch-addons__.moduleinfo.diff
@@ -0,0 +1,24 @@
+--- ./addons/.moduleinfo.orig 2011-04-21 22:02:46.000000000 +0200
++++ ./addons/.moduleinfo 2011-04-26 20:00:53.552445281 +0200
+@@ -1,14 +1,12 @@
+ <category name="MENUSELECT_ADDONS" displayname="Add-ons (See README-addons.txt)" remove_on_change="addons/modules.link">
+ <member name="app_mysql" displayname="Simple Mysql Interface" remove_on_change="addons/app_mysql.o addons/app_mysql.so">
+ <depend>mysqlclient</depend>
+- <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="app_saycountpl" displayname="Say polish counting words" remove_on_change="addons/app_saycountpl.o addons/app_saycountpl.so">
+ <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="cdr_mysql" displayname="MySQL CDR Backend" remove_on_change="addons/cdr_mysql.o addons/cdr_mysql.so">
+ <depend>mysqlclient</depend>
+- <defaultenabled>no</defaultenabled>
+ </member>
+ <member name="chan_mobile" displayname="Bluetooth Mobile Device Channel Driver" remove_on_change="addons/chan_mobile.o addons/chan_mobile.so">
+ <depend>bluetooth</depend>
+@@ -22,6 +20,5 @@
+ </member>
+ <member name="res_config_mysql" displayname="MySQL RealTime Configuration Driver" remove_on_change="addons/res_config_mysql.o addons/res_config_mysql.so">
+ <depend>mysqlclient</depend>
+- <defaultenabled>no</defaultenabled>
+ </member>
+ </category>