brad 17833ea850 Revert back to using MySQL 5.1 for the time being. MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes co-routines. The X86
specific GCC ASM co-routine support hid the fact that there was an issue.
The only fallback code so far is POSIX user contexts which OpenBSD does not
support.

Input from and Ok sthen@ jasper@
2013-06-12 20:36:33 +00:00

46 lines
1019 B
Makefile

# $OpenBSD: Makefile,v 1.39 2013/06/12 20:36:33 brad Exp $
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
SHARED_ONLY = Yes
COMMENT = C++ API for MySQL
DISTNAME = mysql++-3.1.0
REVISION = 4
SHARED_LIBS += mysqlpp 4.0 # 3
CATEGORIES = devel
HOMEPAGE = http://tangentsoft.net/mysql++/
# LPGLv2.1
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += m mysqlclient stdc++
MASTER_SITES = ${HOMEPAGE}releases/
LIB_DEPENDS = databases/mysql
NO_TEST = Yes
USE_GMAKE = Yes
AUTOCONF_VERSION = 2.59
CONFIGURE_STYLE = autoconf
# compile against real libmysqlpp version
MAKE_FLAGS= CXXFLAGS="${CXXFLAGS}" \
DLLIMP_SUFFIX=so.${LIBmysqlpp_VERSION} \
__mysqlpp___targetsuf2=.so.${LIBmysqlpp_VERSION} \
__mysqlpp___targetsuf3=.so.${LIBmysqlpp_VERSION} \
__mysqlpp___so_symlinks_cmd='' \
__mysqlpp___so_symlinks_inst_cmd=''
post-install:
.for dir in refman userman
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mysql++/${dir}/
${INSTALL_DATA} ${WRKSRC}/doc/html/${dir}/* ${PREFIX}/share/doc/mysql++/${dir}/
.endfor
.include <bsd.port.mk>