Subject: pkg/19031: New package qt3-mysql
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlh@goathill.org>
List: netbsd-bugs
Date: 11/12/2002 16:51:33
>Number: 19031
>Category: pkg
>Synopsis: New package qt3-mysql
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Nov 12 14:52:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: MLH
>Release: NetBSD 1.6J
>Organization:
none
>Environment:
System: NetBSD tiamat.goathill.org 1.6J NetBSD 1.6J (GENERIC) #0: Fri Nov 1 14:55:15 UTC 2002 autobuild@tgm.daemon.org:/autobuild/HEAD/i386/OBJ/autobuild/HEAD/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
This is a package for a QT3 plugin database library for MySQL.
It is modelled after the current x11/qt3-psql package and behaves
in pretty much the same way, in that the make process fails, but
does so after the libraries are built.
>How-To-Repeat:
>Fix:
unshar the following in pkgsrc/x11 :
#------------------------------------------------------------
# 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:
#
# qt3-mysql
# qt3-mysql/PLIST
# qt3-mysql/Makefile
# qt3-mysql/DESCR
#
echo c - qt3-mysql
mkdir -p qt3-mysql > /dev/null 2>&1
echo x - qt3-mysql/PLIST
sed 's/^X//' >qt3-mysql/PLIST << 'END-of-qt3-mysql/PLIST'
X@comment $NetBSD: PLIST,
Xqt3/plugins/sqldrivers/libqsqlmysql.a
Xqt3/plugins/sqldrivers/libqsqlmysql.la
Xqt3/plugins/sqldrivers/libqsqlmysql.so
X@dirrm qt3/plugins/sqldrivers
END-of-qt3-mysql/PLIST
echo x - qt3-mysql/Makefile
sed 's/^X//' >qt3-mysql/Makefile << 'END-of-qt3-mysql/Makefile'
X# $NetBSD: Makefile
X#
X
X.include "../qt3-libs/Makefile.common"
X
XPKGNAME= qt3-mysql-${QTVERSION}
XCOMMENT= QT mysql driver
X
XCONFIGURE_ARGS+= -I${QTDIR}/include \
X -L${QTDIR}/lib \
X -I${BUILDLINK_PREFIX.mysql-client}/include/mysql \
X -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql
X
XMAKE_ENV+= LIBQT="-lqt-mt"
X
XUSE_BUILDLINK2= yes
XBUILD_QT3= yes
X
Xdo-build:
X (cd ${WRKSRC}/plugins/src/sqldrivers/mysql; \
X ${SETENV} ${MAKE_ENV} ${GMAKE})
X
XSQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
X
Xdo-install:
X ${INSTALL_DATA_DIR} ${SQLDRVDIR}
X ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \
X ${SQLDRVDIR}
X
X.include "../../x11/qt3-libs/buildlink2.mk"
X.include "../../databases/mysql-client/buildlink2.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-qt3-mysql/Makefile
echo x - qt3-mysql/DESCR
sed 's/^X//' >qt3-mysql/DESCR << 'END-of-qt3-mysql/DESCR'
XQT mysql driver
END-of-qt3-mysql/DESCR
exit
>Release-Note:
>Audit-Trail:
>Unformatted: