Bug 70050 - [New Port] databases/mysqlcppapi -- A branch of MySQL++, C++ API for MySQL
Summary: [New Port] databases/mysqlcppapi -- A branch of MySQL++, C++ API for MySQL
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sergey Matveychuk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-05 23:40 UTC by Jie Gao
Modified: 2004-08-27 19:41 UTC (History)
0 users

See Also:


Attachments
databases-mysqlcppapi.sh (7.53 KB, text/plain)
2004-08-05 23:40 UTC, Jie Gao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jie Gao 2004-08-05 23:40:25 UTC
	
This is a new port: databases/mysqlcppapi

mysqlcppapi is a C++ wrapper for the MySQL C API library.

It is a branch of the MySql++ project, but it has diverged significantly for
the following reasons:

* MySQL++ is aggressively optimised for speed, but optimisation should happen
  after the design is mature, and that optimisation should be targeted.
  Premature optimisation obscures the design and prevents it from improving.
* MySQL++ provides too many ways to do things instead of deciding on an
  interface. Again, this obscures the design.
* MySQL++ uses preprocessor macros to an extent that is unacceptable in a C++
  library.

WWW: http://mysqlcppapi.sourceforge.net

This package uses better C++ codes than mysql++. It compiles without problem
on CURRENT with gcc-3.4.2 (while mysql++ is currently broken with gcc-3.4).

Fix: The following script creates the port skeleton directory. My work in the port
includes:

1. Fix new mysql_shutdown() api problem.
2. pkgconfig specifications to libdata
3. Avoid things like libmysqlcppapi-1.9-1.9 and mysqlcppapi-2.0/mysqlcppapi/
4. Remove pointless -I... and -L... flags in pkgconfig specification
How-To-Repeat: 	
N/A
Comment 1 Sergey Matveychuk freebsd_committer freebsd_triage 2004-08-27 16:56:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2004-08-27 19:41:02 UTC
State Changed
From-To: open->closed

Committed, thanks!