pkgsrc/databases/libpqxx/options.mk
prlw1 fe70426807 Update libpqxx to 7.3.0
7.3.0
 - `stream_to` now quotes and escapes its table name.
 - Removed `transaction_base::classname()`.  Did anyone ever use it?
 - Internal reorg of the `transaction` and `transactionfocus` hierarchies.
 - Removed the only case of virtual inheritance, related to `namedclass`.
 - Internal `concat()` for faster, simpler string concatentation.
 - Fix compile omission in string conversions for `nullptr_t`.
 - `pqxx::size_buffer()` can now size multiple values at once.
 - `multi_to_string()` to convert multiple values into one `std::string`.
 - Implicit `zview` constructor from `char const *`. (#389)
 - Many `std::string&` parameters are now `zview` or `std::string_view`.
 - Now checking statement parameter lengths for overflow.
 - `#include <array>` in connection.cxx.  (#394)
7.2.1
 - Fix infinite loop in converting `char *` to string. (#377)
 - Deprecated `namedclass`.
 - Convert an entire row using `row::as<type...>()`.
 - Internal rework of `field::to()` and `field::as()` functions.
 - Some more warning options in maintainer mode.
 - Removed the old, DocBook-based tutorial.
 - Fixed wrong `query` and SQLSTATE params to some exceptions. (#378)
2021-01-07 16:29:30 +00:00

30 lines
876 B
Makefile

# $NetBSD: options.mk,v 1.2 2021/01/07 16:29:30 prlw1 Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libpqxx
PKG_SUPPORTED_OPTIONS= doc
PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
PLIST_VARS+= doc
.if !empty(PKG_OPTIONS:Mdoc)
CONFIGURE_ARGS+= --enable-documentation
PLIST.doc= yes
TOOL_DEPENDS+= doxygen-[0-9]*:../../devel/doxygen
TOOL_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
PQXXDOCSRC= ${WRKSRC}/doc/html
PQXXDOC= ${PREFIX}/share/doc/${PKGBASE}
INSTALLATION_DIRS+= ${PQXXDOC}/Reference
INSTALLATION_DIRS+= share/examples/libpqxx
post-install:
${INSTALL_DATA} ${PQXXDOCSRC}/Reference/*.html \
${DESTDIR}${PQXXDOC}/Reference
${INSTALL_DATA} ${PQXXDOCSRC}/Reference/doxygen.* \
${DESTDIR}${PQXXDOC}/Reference
${INSTALL_DATA} ${WRKSRC}/test/*.cxx \
${DESTDIR}${PREFIX}/share/examples/libpqxx
.else
CONFIGURE_ARGS+= --disable-documentation
.endif