From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 12 13:00:28 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 273C337B401 for ; Mon, 12 May 2003 13:00:28 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8350143FDD for ; Mon, 12 May 2003 13:00:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4CK0PUp048346 for ; Mon, 12 May 2003 13:00:25 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4CK0Pux048345; Mon, 12 May 2003 13:00:25 -0700 (PDT) Resent-Date: Mon, 12 May 2003 13:00:25 -0700 (PDT) Resent-Message-Id: <200305122000.h4CK0Pux048345@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kay Lehmann Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1CF437B405 for ; Mon, 12 May 2003 12:51:14 -0700 (PDT) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id B933A43FBF for ; Mon, 12 May 2003 12:51:13 -0700 (PDT) (envelope-from kay_lehmann@web.de) Received: from bippes.wg-berlin.de (dsl-213-023-135-212.arcor-ip.net [213.23.135.212]) by mail-in-02.arcor-online.net (Postfix) with ESMTP id 99BC5111BB for ; Mon, 12 May 2003 21:52:00 +0200 (CEST) Received: from bippes.wg-berlin.de (localhost.wg-berlin.de [127.0.0.1]) by bippes.wg-berlin.de (8.12.8/8.12.8) with ESMTP id h4CJrYU2026360 for ; Mon, 12 May 2003 21:53:34 +0200 (CEST) (envelope-from kay@bippes.wg-berlin.de) Received: (from kay@localhost) by bippes.wg-berlin.de (8.12.8/8.12.8/Submit) id h4CJrWGt026359; Mon, 12 May 2003 21:53:32 +0200 (CEST) (envelope-from kay) Message-Id: <200305121953.h4CJrWGt026359@bippes.wg-berlin.de> Date: Mon, 12 May 2003 21:53:32 +0200 (CEST) From: Kay Lehmann To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52131: New port: databases/qt-mysql-plugin mysql-plugin for qt3 (needed by prokyon3) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kay Lehmann List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 20:00:28 -0000 >Number: 52131 >Category: ports >Synopsis: New port: databases/qt-mysql-plugin mysql-plugin for qt3 (needed by prokyon3) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon May 12 13:00:25 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Kay Lehmann >Release: FreeBSD 4.8-RC i386 >Organization: >Environment: System: FreeBSD bippes.wg-berlin.de 4.8-RC FreeBSD 4.8-RC #24: Sat Mar 22 10:31:09 CET 2003 kay@bippes.wg-berlin.de:/usr/obj/usr/src/sys/bippes i386 >Description: qt-mysql-plugin is a small port to get the sql-connection within qt3-apps. I needed it to get the port of prokyon3 working. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # qt-mysql-plugin # qt-mysql-plugin/Makefile # qt-mysql-plugin/distinfo # qt-mysql-plugin/files # qt-mysql-plugin/files/patch-ab # qt-mysql-plugin/files/patch-aa # qt-mysql-plugin/pkg-plist # qt-mysql-plugin/pkg-descr # echo c - qt-mysql-plugin mkdir -p qt-mysql-plugin > /dev/null 2>&1 echo x - qt-mysql-plugin/Makefile sed 's/^X//' >qt-mysql-plugin/Makefile << 'END-of-qt-mysql-plugin/Makefile' X# -*-mode: makefile-*- X# New ports collection makefile for: qt-mysql-plugin X# Date created: 20 April 2003 X# Whom: Kay Lehmann X# X# $FreeBSD$ X# X XPORTNAME= qt-mysql-plugin XPORTVERSION= 3.1.1 XCATEGORIES?= databases x11-toolkits XMASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \ X ftp://ftp.silug.org/pub/qt/ \ X ftp://ftp.bero.org/pub/qt/ \ X ftp://ftp.planetmirror.com.au/pub/trolltech/qt/ X XMAINTAINER?= kay_lehmann@web.de XCOMMENT= A plugin for QT to connect to MySQL-Databases X XLIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client\ X qt-mt.3:${PORTSDIR}/x11-toolkits/qt31 X XDISTNAME= qt-x11-free-${PORTVERSION} XDIST_SUBDIR= KDE X XUSE_BZIP2= yes XUSE_GMAKE= yes XUSE_REINPLACE= yes XUSE_X_PREFIX= yes XHAS_CONFIGURE= yes XINSTALLS_SHLIB= yes XLDCONFIG_DIRS= %%PREFIX%%/lib/plugins/sqldrivers XCONFIGURE_ARGS= -prefix ${PREFIX} -plugindir ${PREFIX}/lib/plugins \ X -plugin-sql-mysql -no-stl X X.if defined(DEBUG) XCONFIGURE_ARGS+= -debug X.endif X XCONFIGURE_ENV= ${ECHO} yes | QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH X X.include X X.if ${MACHINE_ARCH} == "alpha" XCFLAGS+= -O0 X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's,-O2,${CXXFLAGS},' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${REINPLACE_CMD} -e 's,gcc,${CC},' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${REINPLACE_CMD} -e 's,g++,${CXX},' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${REINPLACE_CMD} -e 's,release,release thread,' \ X ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf X @${RM} ${WRKSRC}/mkspecs/freebsd-g++/qmake.conf.bak X Xdo-build: X cd ${WRKSRC}/plugins/src/sqldrivers/mysql; ${GMAKE} X Xdo-install: X @mkdir -p ${PREFIX}/lib/plugins/sqldrivers X ${INSTALL} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.so ${PREFIX}/lib/plugins/sqldrivers/ X X.include END-of-qt-mysql-plugin/Makefile echo x - qt-mysql-plugin/distinfo sed 's/^X//' >qt-mysql-plugin/distinfo << 'END-of-qt-mysql-plugin/distinfo' XMD5 (KDE/qt-x11-free-3.1.1.tar.bz2) = 977b9f59eed14f33343a797544b5418a END-of-qt-mysql-plugin/distinfo echo c - qt-mysql-plugin/files mkdir -p qt-mysql-plugin/files > /dev/null 2>&1 echo x - qt-mysql-plugin/files/patch-ab sed 's/^X//' >qt-mysql-plugin/files/patch-ab << 'END-of-qt-mysql-plugin/files/patch-ab' X--- plugins/src/sqldrivers/mysql/mysql.pro.orig Fri Nov 8 10:35:18 2002 X+++ plugins/src/sqldrivers/mysql/mysql.pro Sat Mar 8 11:00:49 2003 X@@ -8,7 +8,7 @@ X OBJECTS_DIR = .obj X X !contains( LIBS, .*mysql.* ) { X- LIBS *= -lmysqlclient X+ LIBS *= -L/usr/local/lib/mysql -lmysqlclient X } X } X win32 { END-of-qt-mysql-plugin/files/patch-ab echo x - qt-mysql-plugin/files/patch-aa sed 's/^X//' >qt-mysql-plugin/files/patch-aa << 'END-of-qt-mysql-plugin/files/patch-aa' X--- src/sql/drivers/mysql/qsql_mysql.h.orig Wed Jan 22 10:43:49 2003 X+++ src/sql/drivers/mysql/qsql_mysql.h Wed Jan 22 10:44:03 2003 X@@ -46,7 +46,7 @@ X #include X #endif X X-#include X+#include X X #ifdef QT_PLUGIN X #define Q_EXPORT_SQLDRIVER_MYSQL END-of-qt-mysql-plugin/files/patch-aa echo x - qt-mysql-plugin/pkg-plist sed 's/^X//' >qt-mysql-plugin/pkg-plist << 'END-of-qt-mysql-plugin/pkg-plist' Xlib/plugins/sqldrivers/libqsqlmysql.so X@dirrm lib/plugins/sqldrivers X@dirrm lib/plugins END-of-qt-mysql-plugin/pkg-plist echo x - qt-mysql-plugin/pkg-descr sed 's/^X//' >qt-mysql-plugin/pkg-descr << 'END-of-qt-mysql-plugin/pkg-descr' XThis is a port to install Mysql-plugin from qt3, which provides an easy access Xmethod from within qt3-apps (like prokyon3). END-of-qt-mysql-plugin/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: