aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-09-30 05:50:32 +0800
committeralepulver <alepulver@FreeBSD.org>2007-09-30 05:50:32 +0800
commit6b2b3c213a11e0beb3c2e61141ffdd5564a30b23 (patch)
tree919d78f8177458828392319b3bc3a580bebc61e9
parent1b57255c1f327979c454702c5f9171336466ff0b (diff)
downloadfreebsd-ports-gnome-6b2b3c213a11e0beb3c2e61141ffdd5564a30b23.tar.gz
freebsd-ports-gnome-6b2b3c213a11e0beb3c2e61141ffdd5564a30b23.tar.zst
freebsd-ports-gnome-6b2b3c213a11e0beb3c2e61141ffdd5564a30b23.zip
- Remove BROKEN.
- Add missing dependency to libgnomeprint (in USE_GNOME) to make it build [1]. - Clean up [1]. - Remove ONLY_FOR_ARCHS=i386 (builds on amd64) [1]. - Remove BROKEN for FreeBSD < 5.x since it is unsupported [1]. PR: ports/115975 Submitted by: Vladimir Grebenschikov <vova@fbsd.ru> Reworked by: alepulver (myself) [1]
-rw-r--r--databases/mysql-query-browser/Makefile34
1 files changed, 12 insertions, 22 deletions
diff --git a/databases/mysql-query-browser/Makefile b/databases/mysql-query-browser/Makefile
index bf6fc8ef12d4..513bd9cc586f 100644
--- a/databases/mysql-query-browser/Makefile
+++ b/databases/mysql-query-browser/Makefile
@@ -15,32 +15,30 @@ MASTER_SITE_SUBDIR= MySQLAdministrationSuite
MAINTAINER= ports@FreeBSD.org
COMMENT= A database querying tool for MySQL servers
-LIB_DEPENDS+= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
+LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
pcre.0:${PORTSDIR}/devel/pcre
BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed \
gtkdoc-mkhtml:${PORTSDIR}/textproc/gtk-doc \
scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
-BROKEN= Does not compile
-
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:19:env autoconf:259:env
-CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
+CONFIGURE_ENV= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
-GTKHTML_VER= ${gtkhtml3_DETECT:R}
-CONFIGURE_ARGS_GUI+= --prefix=${X11BASE} \
- --datadir=${DATADIR} \
- --localstatedir=${PREFIX}/share/gnome
-CONFIGURE_ARGS_MAIN+= ${CONFIGURE_ARGS_GUI} \
- --with-gtkhtml=${GTKHTML_VER:C/^.*\///g}
USE_ICONV= yes
-USE_GNOME= libglade2 gnomehack gtkhtml3 intltool
+USE_GNOME= libglade2 gnomehack gtkhtml3 intltool libgnomeprint
USE_MYSQL= yes
DEFAULT_MYSQL_VER= 50
IGNORE_WITH_MYSQL= 323
-GNU_CONFIGURE= yes
+
+GTKHTML_VER= ${gtkhtml3_DETECT:R}
+CONFIGURE_ARGS_GUI= --prefix=${X11BASE} \
+ --datadir=${DATADIR} \
+ --localstatedir=${PREFIX}/share/gnome
+CONFIGURE_ARGS_MAIN= ${CONFIGURE_ARGS_GUI} \
+ --with-gtkhtml=${GTKHTML_VER:C/^.*\///g}
GUI_CONFIG_COOKIE= ${WRKDIR}/.gui_configure_done
GUI_BUILD_COOKIE= ${WRKDIR}/.gui_build_done
@@ -50,14 +48,6 @@ MAIN_BUILD_COOKIE= ${WRKDIR}/.main_build_done
GUI_DIR= ${WRKSRC}/mysql-gui-common
MAIN_DIR= ${WRKSRC}/mysql-query-browser
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= does not build on FreeBSD < 5.x
-.endif
-
-ONLY_FOR_ARCHS= i386
-
do-configure:
@${DO_NADA}
@@ -87,4 +77,4 @@ do-install:
@cd ${MAIN_DIR}; \
${GMAKE} ${INSTALL_TARGET}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>