diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile
index 548d011f20a7..2f55bf32fcb5 100644
--- a/net/asterisk/Makefile
+++ b/net/asterisk/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/asterisk/files/extra-patch-addons__.moduleinfo.diff b/net/asterisk/files/extra-patch-addons__.moduleinfo.diff
new file mode 100644
index 000000000000..93cb3d904f2d
--- /dev/null
+++ b/net/asterisk/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 @@
+
+
+ mysqlclient
+- no
+
+
+ no
+
+
+ mysqlclient
+- no
+
+
+ bluetooth
+@@ -22,6 +20,5 @@
+
+
+ mysqlclient
+- no
+
+
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 @@
+
+
+ mysqlclient
+- no
+
+
+ no
+
+
+ mysqlclient
+- no
+
+
+ bluetooth
+@@ -22,6 +20,5 @@
+
+
+ mysqlclient
+- no
+
+