Date: 6 Jan 2001 19:31:43 -0000 From: mico@bsd.hu To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24126: databases/mysql++ doesn't install some necessary header files Message-ID: <20010106193143.10233.qmail@fmdb.c3.hu>
next in thread | raw e-mail | index | archive | help
>Number: 24126 >Category: ports >Synopsis: databases/mysql++ doesn't install some necessary header files >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 07 04:40:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Miklos Niedermayer >Release: FreeBSD 4.1.1-RELEASE i386 >Organization: >Environment: >Description: databases/mysql++ doesn't install some header files which are needed by some applications to compile. The missing files are: include/mysql/{defs,define_short,undef_short} The patch below fixes the problem, and also updates the port to use mysql-3.23 client libraries, which are more stable. (I am the maintainer) >How-To-Repeat: Install the port, then try to compile several applications that use the library. >Fix: Apply the following patches. diff -uNr mysql++-old/Makefile mysql++/Makefile --- mysql++-old/Makefile Wed Aug 2 12:17:09 2000 +++ mysql++/Makefile Sat Jan 6 20:13:57 2001 @@ -13,7 +13,7 @@ MAINTAINER= mico@bsd.hu -LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql322-client +LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql323-client HAS_CONFIGURE= yes CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ " @@ -35,7 +35,7 @@ @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/examples/*.cc ${PREFIX}/share/examples/mysql++ @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/man-text/* ${PREFIX}/share/doc/mysql++ @mkdir -p ${PREFIX}/include/mysql - @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sqlplusint/mysql++ ${WRKDIR}/${DISTNAME}/sqlplusint/*.hh ${PREFIX}/include/mysql + @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/sqlplusint/{mysql++,defs,undef_short,define_short} ${WRKDIR}/${DISTNAME}/sqlplusint/*.hh ${PREFIX}/include/mysql @${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/mysql++ .include <bsd.port.mk> diff -uNr mysql++-old/pkg-comment mysql++/pkg-comment --- mysql++-old/pkg-comment Fri Jul 21 07:12:24 2000 +++ mysql++/pkg-comment Sat Jan 6 20:14:18 2001 @@ -1 +1 @@ -Complex C++ API for MySQL (needs mysql-client) +Complex C++ API for MySQL (needs mysql-client 3.23) diff -uNr mysql++-old/pkg-plist mysql++/pkg-plist --- mysql++-old/pkg-plist Wed Aug 2 01:28:34 2000 +++ mysql++/pkg-plist Sat Jan 6 20:14:46 2001 @@ -1,4 +1,7 @@ include/mysql/mysql++ +include/mysql/defs +include/mysql/define_short +include/mysql/undef_short include/mysql/bad_query.hh include/mysql/coldata1.hh include/mysql/coldata2.hh >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010106193143.10233.qmail>