pkgsrc/databases/libpqxx/Makefile
prlw1 40d0c75b72 Update libpqxx to 6.2.2
patch-ab no longer needed just since 15 Jan 2018(!)

5 years worth of changes including:
- C++11 is now required. Your compiler must have shared_ptr, noexcept, etc.
- Removed pqxx::items. Use the new C++11 initialiser syntax.
- Removed maketemporary. We weren't using it.
- Can now be built outside the source tree.
- New, simpler, lambda-friendly transactor framework.
- New, simpler, prepared statements and parameterised statements.
- Result rows can be passed around independently.
- New exec0(): perform query, expect zero rows of data.
- New exec1(): perform query, expect (and return) a single row of data.
- New exec_n(): perform query, expect exactly n rows of data.
- No longer defines Visual Studio's NOMINMAX in headers.
- Much faster configure script.
- Most configuration items are gone.
- Retired all existing capability flags.
- Documentation on readthedocs.org, thanks Tim Sheerman-Chase.
- Expose SQLSTATE error codes in sql_error exceptions.
- Adds a first-generation parser for SQL arrays.
2018-05-03 12:58:24 +00:00

30 lines
726 B
Makefile

# $NetBSD: Makefile,v 1.34 2018/05/03 12:58:24 prlw1 Exp $
DISTNAME= libpqxx-6.2.2
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_GITHUB:=jtv/}
GITHUB_PROJECT= libpqxx
MAINTAINER= is@NetBSD.org
HOMEPAGE= http://pqxx.org/development/libpqxx/
COMMENT= C++ interface to postgresql-lib
LICENSE= modified-bsd
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= libpqxx.pc.in
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf gmake
PYTHON_FOR_BUILD_ONLY= yes
REPLACE_PYTHON+= tools/splitconfig
REPLACE_PYTHON+= tools/template2mak.py
pre-configure:
cd ${WRKSRC} && autoconf
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"