aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-09-21 12:21:45 +0800
committerwill <will@FreeBSD.org>2002-09-21 12:21:45 +0800
commit239f39f7790da133e18a2512df9f99d11bdd31ea (patch)
tree4cd2ee299bdf4578c1fb78fc997f7697a6310e23 /databases
parent0b49d3ffda73af0d6f69499d20df0f2b6d5fa31c (diff)
downloadfreebsd-ports-gnome-239f39f7790da133e18a2512df9f99d11bdd31ea.tar.gz
freebsd-ports-gnome-239f39f7790da133e18a2512df9f99d11bdd31ea.tar.zst
freebsd-ports-gnome-239f39f7790da133e18a2512df9f99d11bdd31ea.zip
Update to 1.3.12, which works on KDE3.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-navigator/Makefile12
-rw-r--r--databases/mysql-navigator/distinfo2
-rw-r--r--databases/mysql-navigator/files/patch-src-main-Makefile.in11
3 files changed, 10 insertions, 15 deletions
diff --git a/databases/mysql-navigator/Makefile b/databases/mysql-navigator/Makefile
index 78956871e4b5..0fcd62ef16d4 100644
--- a/databases/mysql-navigator/Makefile
+++ b/databases/mysql-navigator/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mysql-navigator
-PORTVERSION= 1.3.7
+PORTVERSION= 1.3.12
CATEGORIES= databases kde
MASTER_SITES= http://ftp.kde.com/Database/MySQL_Navigator/ \
http://sql.kldp.org/snapshots/ \
@@ -17,14 +17,20 @@ MAINTAINER= demon@FreeBSD.org
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
-USE_KDELIBS_VER=2
+USE_KDELIBS_VER=3
INSTALLS_SHLIB= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
+CONFIGURE_ENV+= MOC="${MOC}" QTDIR="${X11BASE}"
+MAKE_ENV+= MOC="${MOC}" QTDIR="${X11BASE}"
post-patch:
- @ ${PERL} -pi -e 's#-O2#$(CXXFLAGS)#g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} 's#-O2#$(CXXFLAGS)#g' ${WRKSRC}/configure
+
+pre-configure:
+ @${REINPLACE_CMD} "s#-lqt#-lqt-mt ${PTHREAD_LIBS}#g" \
+ ${WRKSRC}/src/main/Makefile.in
.include <bsd.port.mk>
diff --git a/databases/mysql-navigator/distinfo b/databases/mysql-navigator/distinfo
index b778a0d7c65e..69835c5041da 100644
--- a/databases/mysql-navigator/distinfo
+++ b/databases/mysql-navigator/distinfo
@@ -1 +1 @@
-MD5 (mysqlnavigator-1.3.7.tar.gz) = bbf8c72f26c5966eb87ef4fb8985e514
+MD5 (mysqlnavigator-1.3.12.tar.gz) = 276be72b5371f909b2e3acece80c5776
diff --git a/databases/mysql-navigator/files/patch-src-main-Makefile.in b/databases/mysql-navigator/files/patch-src-main-Makefile.in
deleted file mode 100644
index b4665ab2b990..000000000000
--- a/databases/mysql-navigator/files/patch-src-main-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/main/Makefile.in.orig Sun Jan 27 00:19:49 2002
-+++ src/main/Makefile.in Sun Jan 27 00:20:00 2002
-@@ -85,7 +85,7 @@
- INCLUDES = -I$(top_srcdir)/pics -I$(top_srcdir)/include @MYSQL_INCLUDES@ @QT_INCLUDES@
- mysqlnavigator_SOURCES = main.cxx
- LDFLAGS = @MYSQL_LDFLAGS@ @QT_LDFLAGS@ -L../mysql
--LDADD = -lmysqlui -lmysqlclient -lqt
-+LDADD = -lmysqlui -lmysqlclient -lqt2
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = ../../config.h
- CONFIG_CLEAN_FILES =