- 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>
This commit is contained in:
Florian Smeets 2011-04-26 18:53:16 +00:00
parent d322d675a6
commit dc898af0e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273223
4 changed files with 50 additions and 0 deletions

View file

@ -161,6 +161,7 @@ PLIST_SUB+= WITH_MYSQL="@comment "
PLIST_SUB+= WITH_MYSQL="" PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes USE_MYSQL= yes
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-menuselect-tree-mysql.diff EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-menuselect-tree-mysql.diff
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-addons__.moduleinfo.diff
.endif .endif
.if !defined(WITH_OGGVORBIS) .if !defined(WITH_OGGVORBIS)

View file

@ -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>

View file

@ -161,6 +161,7 @@ PLIST_SUB+= WITH_MYSQL="@comment "
PLIST_SUB+= WITH_MYSQL="" PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes USE_MYSQL= yes
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-menuselect-tree-mysql.diff EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-menuselect-tree-mysql.diff
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-addons__.moduleinfo.diff
.endif .endif
.if !defined(WITH_OGGVORBIS) .if !defined(WITH_OGGVORBIS)

View file

@ -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>