Skip site navigation (1)Skip section navigation (2)
Date:      17 Feb 2001 18:08:21 -0000
From:      mico@bsd.hu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/25175: maintainer update of databases/mysql++
Message-ID:  <20010217180821.9028.qmail@fmdb.c3.hu>

next in thread | raw e-mail | index | archive | help

>Number:         25175
>Category:       ports
>Synopsis:       maintainer update of databases/mysql++
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 17 10:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Miklos Niedermayer
>Release:        FreeBSD 4.2-RELEASE i386
>Organization:
>Environment:

	

>Description:

Updates databases/mysql++ to 1.7.8.  Several versions came out in the last
months but i wasn't able to get them worked under FreeBSD. (c++ problems?)
Now i tried again and it just worked...

>How-To-Repeat:

	

>Fix:

1. apply the patch below
2. please delete files/patch-aa, thanks


diff -uNr mysql++.old/Makefile mysql++/Makefile
--- mysql++.old/Makefile	Sun Jan 21 21:26:43 2001
+++ mysql++/Makefile	Sat Feb 17 19:05:37 2001
@@ -6,16 +6,18 @@
 #
 
 PORTNAME=	mysql++
-PORTVERSION=	1.7
-PORTREVISION=	1
+PORTVERSION=	1.7.8
 CATEGORIES=	databases devel
-MASTER_SITES=	http://gd.tuwien.ac.at/db/mysql/mysql++/ \
-		http://www.mysql.com/Downloads/mysql++/
+MASTER_SITES=	ftp://mysql.omnipotent.net/mysql++/ \
+		ftp://mysql.valueclick.com/mysql/mysql++/ \
+		ftp://ftp.u-aizu.ac.jp/ftp/pub/dbms/mysql/mysql.com/mysql++/ \
+		ftp://mirror.aarnet.edu.au/pub/mysql/mysql++
 
 MAINTAINER=	mico@bsd.hu
 
-LIB_DEPENDS=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+LIB_DEPENDS=	mysqlclient:${PORTSDIR}/databases/mysql323-client
 
+USE_GMAKE=	yes
 HAS_CONFIGURE=	yes
 CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} -D_FIX_FOR_BSD_ "
 INSTALL_SHLIB=	yes
diff -uNr mysql++.old/distinfo mysql++/distinfo
--- mysql++.old/distinfo	Fri Jul 21 07:12:22 2000
+++ mysql++/distinfo	Sat Feb 17 10:50:33 2001
@@ -1 +1 @@
-MD5 (mysql++-1.7.tar.gz) = 0a600601321c304498cfbc3c386f90ab
+MD5 (mysql++-1.7.8.tar.gz) = f9b61381dd67676079ab9ca26e46db49
diff -uNr mysql++.old/files/README mysql++/files/README
--- mysql++.old/files/README	Fri Jul 21 07:12:21 2000
+++ mysql++/files/README	Sat Feb 17 16:29:07 2001
@@ -3,18 +3,19 @@
 If you haven't met mysql++ before, please take a look at the documentation
 in ../../doc/mysql++ before trying to play with these examples.  Thank you.
 
-
 To compile a mysql++ program,
 
-  o  you have to have libmysqlclient installed on your system
-     (it's in FreeBSD port mysql-client)
+  o  you have to have libmysqlclient installed on your system.  It's
+     provided by the mysql-client port/package.  MySQL++ now needs
+     MySQL 3.23 client libraries to run, so if you have old 3.22
+     libraries, please upgrade them.
 
   o  you have to link your programs with the sqlplus library
 
   o  you have to add "-D_FIX_FOR_BSD_" to your CXXFLAGS environment
 
 
-For example, you can try to compile simple1.cc with something like this 
+For example, you can try to compile simple1.cc with something like this
 
 c++ -D_FIX_FOR_BSD_ -I/usr/local/include/mysql -L/usr/local/lib -lsqlplus simple1.cc -o simple1
 
diff -uNr mysql++.old/pkg-plist mysql++/pkg-plist
--- mysql++.old/pkg-plist	Sun Jan 21 21:26:43 2001
+++ mysql++/pkg-plist	Sat Feb 17 16:21:43 2001
@@ -26,6 +26,7 @@
 include/mysql/datetime1.hh
 include/mysql/datetime2.hh
 include/mysql/datetime3.hh
+include/mysql/exceptions.hh
 include/mysql/field_names1.hh
 include/mysql/field_names2.hh
 include/mysql/field_names3.hh
@@ -104,6 +105,7 @@
 share/examples/mysql++/custom4.cc
 share/examples/mysql++/fieldinf1.cc
 share/examples/mysql++/load_file.cc
+share/examples/mysql++/populate.cc
 share/examples/mysql++/resetdb.cc
 share/examples/mysql++/simple1.cc
 share/examples/mysql++/sinisa_ex.cc

>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?20010217180821.9028.qmail>