aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql-workbench51
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2013-03-30 00:09:23 +0800
committerkwm <kwm@FreeBSD.org>2013-03-30 00:09:23 +0800
commit9dafe3f62e804965f8192bb3b8b20d124da03579 (patch)
treecde50d9220342d25b7c3b79eae73225046f9b1c6 /databases/mysql-workbench51
parent712e2eb2183ec152b31fa1191a42d3c4ceacb4ff (diff)
downloadfreebsd-ports-gnome-9dafe3f62e804965f8192bb3b8b20d124da03579.tar.gz
freebsd-ports-gnome-9dafe3f62e804965f8192bb3b8b20d124da03579.tar.zst
freebsd-ports-gnome-9dafe3f62e804965f8192bb3b8b20d124da03579.zip
Fix build with glib 2.34.
Submitted by: miwi
Diffstat (limited to 'databases/mysql-workbench51')
-rw-r--r--databases/mysql-workbench51/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mysql-workbench51/Makefile b/databases/mysql-workbench51/Makefile
index 44999e4de49b..cf7838c533a4 100644
--- a/databases/mysql-workbench51/Makefile
+++ b/databases/mysql-workbench51/Makefile
@@ -65,6 +65,19 @@ IGNORE_WITH_MYSQL= 41 55
CONFIGURE_ARGS+= --enable-python-modules
.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|glib/.*\.h>|glib.h>|g' \
+ ${WRKSRC}/backend/windows/wbprivate.wr/src/stdafx.h \
+ ${WRKSRC}/backend/wbprivate/workbench/stdafx.h \
+ ${WRKSRC}/library/canvas/src/stdafx.h \
+ ${WRKSRC}/library/canvas/src/mdc_canvas_view.h \
+ ${WRKSRC}/library/canvas/src/mdc_canvas_view_printing.cpp \
+ ${WRKSRC}/modules/wb.mysql.import/src/stdafx.h \
+ ${WKRSRC}/modules/db.mysql.sqlparser/src/stdafx.h \
+ ${WKRSRC}/modules/db.mysql.sqlparser/src/mysql_sql_parser_fe.cpp \
+ ${WRKSRC}/plugins/wb.printing/backend/stdafx.h \
+ ${WRKSRC}/plugins/db.mysql/backend/db_plugin_be.cpp
+
run-autotools-aclocal:
.for dir in ${SUBDIRS}
@(cd ${WRKSRC}/${dir} && \