summaryrefslogtreecommitdiff
path: root/databases/mysql-gui-tools
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-gui-tools')
-rw-r--r--databases/mysql-gui-tools/Makefile8
-rw-r--r--databases/mysql-gui-tools/files/patch-query-browser-configure.in21
2 files changed, 26 insertions, 3 deletions
diff --git a/databases/mysql-gui-tools/Makefile b/databases/mysql-gui-tools/Makefile
index 174cf5e1f63f..3c3e695883f0 100644
--- a/databases/mysql-gui-tools/Makefile
+++ b/databases/mysql-gui-tools/Makefile
@@ -8,6 +8,7 @@
PORTNAME= mysql-gui-tools
PORTVERSION= 5.0r14
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_MYSQL}
MASTER_SITE_SUBDIR= MySQLGUITools
@@ -24,15 +25,16 @@ OPTIONS= QUERY_BROWSER "Build the MySQL Query Browser" on \
ADMINISTRATOR "Build the MySQL Administrator" on
USE_AUTOTOOLS= autoconf:262 libtool:22 automake:110
-USE_GNOME= gnomelibs libglade2 gtkhtml3 libgnomeprint intlhack gtksourceview
+USE_GNOME= libgnome libglade2 gtkhtml3 libgnomeprint intlhack gtksourceview
USE_GL= gl glut
USE_GMAKE= yes
DATADIR= ${PREFIX}/share/mysql-gui
-CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${LOCALBASE}/lib
HAS_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
CONFIGURE_ARGS+= --with-gtkhtml=libgtkhtml-3.14
.include <bsd.port.pre.mk>
diff --git a/databases/mysql-gui-tools/files/patch-query-browser-configure.in b/databases/mysql-gui-tools/files/patch-query-browser-configure.in
new file mode 100644
index 000000000000..0d86b9fd38c3
--- /dev/null
+++ b/databases/mysql-gui-tools/files/patch-query-browser-configure.in
@@ -0,0 +1,21 @@
+--- query-browser/configure.in.orig 2009-09-27 23:40:34.000000000 +0200
++++ query-browser/configure.in 2009-09-27 23:41:02.000000000 +0200
+@@ -66,7 +66,7 @@
+ gtkhtml=$withval, gtkhtml=libgtkhtml-3.0)
+
+
+-PKG_CHECK_MODULES(GLIB, [glib-2.0 libxml-2.0 >= 2.6.2])
++PKG_CHECK_MODULES(GLIB, [glib-2.0 libxml-2.0 >= 2.6.2 libgnome-2.0])
+ AC_SUBST(GLIB_CFLAGS)
+ AC_SUBST(GLIB_LIBS)
+
+@@ -74,7 +74,8 @@
+ gthread-2.0
+ libxml-2.0 >= 2.6.2
+ $gtkhtml
+- gtkmm-2.4])
++ gtkmm-2.4
++ libgnome-2.0])
+ AC_SUBST(GNOME_CFLAGS)
+ AC_SUBST(GNOME_LIBS)
+