diff options
Diffstat (limited to 'databases/mysqlcppapi')
-rw-r--r-- | databases/mysqlcppapi/Makefile | 31 | ||||
-rw-r--r-- | databases/mysqlcppapi/distinfo | 2 | ||||
-rw-r--r-- | databases/mysqlcppapi/files/patch-configure | 24 | ||||
-rw-r--r-- | databases/mysqlcppapi/files/patch-mysqlcppapi-2.0.pc.in | 11 | ||||
-rw-r--r-- | databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc | 16 | ||||
-rw-r--r-- | databases/mysqlcppapi/pkg-descr | 14 | ||||
-rw-r--r-- | databases/mysqlcppapi/pkg-plist | 50 |
7 files changed, 0 insertions, 148 deletions
diff --git a/databases/mysqlcppapi/Makefile b/databases/mysqlcppapi/Makefile deleted file mode 100644 index 3602c2cde051..000000000000 --- a/databases/mysqlcppapi/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: Jie Gao <gaoj@cpsc.ucalgary.ca> -# $FreeBSD$ - -PORTNAME= mysqlcppapi -PORTVERSION= 1.9.3 -PORTREVISION= 3 -CATEGORIES= databases devel -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%202/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Fork of mysql++ C++ API for MySQL - -USE_AUTOTOOLS= libtool -USE_MYSQL= yes -USES= pathfix pkgconfig -GNU_CONFIGURE= yes - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ARGS= --with-mysql=${LOCALBASE} -USE_LDCONFIG= yes - -NO_STAGE= yes -post-patch: - ${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \ - ${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in - ${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \ - -exec ${REINPLACE_CMD} -e \ - '/^library_includedir =/s,\$$(GENERIC_LIBRARY_NAME)-2.0/,,g' '{}' \; - -.include <bsd.port.mk> diff --git a/databases/mysqlcppapi/distinfo b/databases/mysqlcppapi/distinfo deleted file mode 100644 index c30565055e36..000000000000 --- a/databases/mysqlcppapi/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mysqlcppapi-1.9.3.tar.gz) = c57f844107a6138c7fcebfad87bf5a2b914b668df6dc3ecfa25a04b4dbc4d9ff -SIZE (mysqlcppapi-1.9.3.tar.gz) = 354688 diff --git a/databases/mysqlcppapi/files/patch-configure b/databases/mysqlcppapi/files/patch-configure deleted file mode 100644 index 23710b3c6c71..000000000000 --- a/databases/mysqlcppapi/files/patch-configure +++ /dev/null @@ -1,24 +0,0 @@ ---- configure.orig Wed Aug 4 23:58:41 2004 -+++ configure Thu Aug 5 00:12:29 2004 -@@ -18465,8 +18465,8 @@ - fi; - - --MYSQL_LIBS="-L${MYSQL_PREFIX}/mysql/lib/mysql -lmysqlclient -L${MYSQL_PREFIX}/lib/mysql -lmysqlclient" --MYSQL_CFLAGS="-I${MYSQL_PREFIX}/mysql/include" -+MYSQL_LIBS="-L${MYSQL_PREFIX}/lib/mysql -lmysqlclient" -+MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include" - - - ---- configure.orig Fri Aug 29 03:24:14 2003 -+++ configure Fri Sep 3 20:09:58 2004 -@@ -18660,7 +18660,7 @@ - echo $ECHO_N "(cached) $ECHO_C" >&6 - else - ac_check_lib_save_LIBS=$LIBS --LIBS="-lmysqlclient $LIBS" -+LIBS="-L$MYSQL_PREFIX/lib/mysql -lmysqlclient $LIBS" - cat >conftest.$ac_ext <<_ACEOF - #line $LINENO "configure" - /* confdefs.h. */ diff --git a/databases/mysqlcppapi/files/patch-mysqlcppapi-2.0.pc.in b/databases/mysqlcppapi/files/patch-mysqlcppapi-2.0.pc.in deleted file mode 100644 index c5bcf9e97b81..000000000000 --- a/databases/mysqlcppapi/files/patch-mysqlcppapi-2.0.pc.in +++ /dev/null @@ -1,11 +0,0 @@ ---- mysqlcppapi-2.0.pc.in.orig Thu Mar 21 03:06:01 2002 -+++ mysqlcppapi-2.0.pc.in Thu Aug 5 15:37:18 2004 -@@ -7,6 +7,6 @@ - Description: C++ wrapper for MySQL client library - Requires: - Version: @VERSION@ --Libs: -L${libdir} -lmysqlcppapi-1.9 @MYSQL_LIBS@ --Cflags: -I${includedir}/mysqlcppapi-2.0 -I${libdir}/mysqlcppapi-2.0/include @MYSQL_CFLAGS@ -+Libs: -L${libdir} -lmysqlcppapi @MYSQL_LIBS@ @LDFLAGS@ -+Cflags: @CPPFLAGS@ @MYSQL_CFLAGS@ -I${prefix}/include - diff --git a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc b/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc deleted file mode 100644 index ffbeb0be9d22..000000000000 --- a/databases/mysqlcppapi/files/patch-mysqlcppapi-Connection.cc +++ /dev/null @@ -1,16 +0,0 @@ ---- mysqlcppapi/Connection.cc.orig Wed Aug 4 23:15:58 2004 -+++ mysqlcppapi/Connection.cc Wed Aug 4 23:18:13 2004 -@@ -211,9 +211,11 @@ - bool Connection::shutdown () - { - check_connection_is_open(); -- -+#if ( MYSQL_VERSION_ID >= 50001 ) || (( MYSQL_VERSION_ID < 50000 ) && ( MYSQL_VERSION_ID >= 40103 )) -+ bool suc = !(mysql_shutdown(m_sharedptr_connection.obj(),SHUTDOWN_DEFAULT)); -+#else - bool suc = !(mysql_shutdown(m_sharedptr_connection.obj())); -- -+#endif - if (!suc) - throw ex_BadQuery(error()); - diff --git a/databases/mysqlcppapi/pkg-descr b/databases/mysqlcppapi/pkg-descr deleted file mode 100644 index 55dd7d90b323..000000000000 --- a/databases/mysqlcppapi/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -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 diff --git a/databases/mysqlcppapi/pkg-plist b/databases/mysqlcppapi/pkg-plist deleted file mode 100644 index 6181d2fa0f59..000000000000 --- a/databases/mysqlcppapi/pkg-plist +++ /dev/null @@ -1,50 +0,0 @@ -include/mysqlcppapi/Allocator_Connection.h -include/mysqlcppapi/ColData.h -include/mysqlcppapi/Connection.h -include/mysqlcppapi/const_subscript_container.h -include/mysqlcppapi/convert.h -include/mysqlcppapi/datetime/Date.h -include/mysqlcppapi/datetime/DateTime.h -include/mysqlcppapi/datetime/Time.h -include/mysqlcppapi/datetime/date_base.h -include/mysqlcppapi/datetime/datetime_base.h -include/mysqlcppapi/datetime/stream2string.h -include/mysqlcppapi/datetime/time_base.h -include/mysqlcppapi/exceptions/ex_BadConversion.h -include/mysqlcppapi/exceptions/ex_BadNullConversion.h -include/mysqlcppapi/exceptions/ex_BadQuery.h -include/mysqlcppapi/exceptions/ex_BadQuery_NotEnoughParameters.h -include/mysqlcppapi/exceptions/ex_Locked.h -include/mysqlcppapi/exceptions/ex_base.h -include/mysqlcppapi/fields/FieldInfo.h -include/mysqlcppapi/fields/FieldType.h -include/mysqlcppapi/fields/Fields.h -include/mysqlcppapi/mysqlcppapi.h -include/mysqlcppapi/mysqlcppapi_internal.h -include/mysqlcppapi/null.h -include/mysqlcppapi/query/Query.h -include/mysqlcppapi/query/sql_query.h -include/mysqlcppapi/query_results/Allocator_Result.h -include/mysqlcppapi/query_results/Result_NoData.h -include/mysqlcppapi/query_results/Result_Store.h -include/mysqlcppapi/query_results/Result_Use.h -include/mysqlcppapi/row/Row.h -include/mysqlcppapi/row/row_template.h -include/mysqlcppapi/smartpointer/Allocator.h -include/mysqlcppapi/smartpointer/SharedPtr.h -include/mysqlcppapi/string_util.h -include/mysqlcppapi/windows_includes.h -lib/libmysqlcppapi-1.9.so -lib/libmysqlcppapi-1.9.so.4 -lib/libmysqlcppapi.a -lib/libmysqlcppapi.la -lib/libmysqlcppapi.so -libdata/pkgconfig/mysqlcppapi-2.0.pc -@dirrm include/mysqlcppapi/smartpointer -@dirrm include/mysqlcppapi/row -@dirrm include/mysqlcppapi/query_results -@dirrm include/mysqlcppapi/query -@dirrm include/mysqlcppapi/fields -@dirrm include/mysqlcppapi/exceptions -@dirrm include/mysqlcppapi/datetime -@dirrm include/mysqlcppapi |