summaryrefslogtreecommitdiff
path: root/databases/libpqxx/Makefile
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2018-05-03 12:58:24 +0000
committerprlw1 <prlw1@pkgsrc.org>2018-05-03 12:58:24 +0000
commit36d316940f7ec0b8ffa8e4851b84f1e4074ad52b (patch)
treed7d597fed54f274202f234060fa6383f5167a4f0 /databases/libpqxx/Makefile
parent17b30ba0a34498fd7bd35cb65783334cce2a0d86 (diff)
downloadpkgsrc-36d316940f7ec0b8ffa8e4851b84f1e4074ad52b.tar.gz
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.
Diffstat (limited to 'databases/libpqxx/Makefile')
-rw-r--r--databases/libpqxx/Makefile28
1 files changed, 16 insertions, 12 deletions
diff --git a/databases/libpqxx/Makefile b/databases/libpqxx/Makefile
index 70aabb6f58c..64c76909506 100644
--- a/databases/libpqxx/Makefile
+++ b/databases/libpqxx/Makefile
@@ -1,25 +1,29 @@
-# $NetBSD: Makefile,v 1.33 2017/01/01 14:43:26 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2018/05/03 12:58:24 prlw1 Exp $
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # not yet ported as of 4.0.1
-
-PKGREVISION= 1
-.include "../../databases/libpqxx/Makefile.common"
+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
-# Apparently (at least as of 2004) this package's shared libraries are
-# messed up on a.out platforms. But AFAIK we don't have any in pkgsrc
-# any more. Leave this here for documentation just in case.
-# - dholland 20150101
-#NOT_FOR_PLATFORM= ${AOUTPLATFORMS}
-
-USE_LANGUAGES= c c++
+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"