summaryrefslogtreecommitdiff
path: root/databases/postgresql-pgbench
diff options
context:
space:
mode:
authortnn <tnn>2016-03-05 16:06:32 +0000
committertnn <tnn>2016-03-05 16:06:32 +0000
commit6094e2edea4be0e1d484e9d62f8d1a54a128c88e (patch)
tree69d6243af807071849ce36203629c0b515073acb /databases/postgresql-pgbench
parent3045177690053bc28e0f64cd48918fb0bc749267 (diff)
downloadpkgsrc-6094e2edea4be0e1d484e9d62f8d1a54a128c88e.tar.gz
prevent building the package with 9.5; pgbench now shipped with -client
Diffstat (limited to 'databases/postgresql-pgbench')
-rw-r--r--databases/postgresql-pgbench/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/postgresql-pgbench/Makefile b/databases/postgresql-pgbench/Makefile
index f4a3221dbaf..ae0df3b6b5f 100644
--- a/databases/postgresql-pgbench/Makefile
+++ b/databases/postgresql-pgbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2012/10/02 21:25:41 asau Exp $
+# $NetBSD: Makefile,v 1.3 2016/03/05 16:06:32 tnn Exp $
PKGNAME= ${DISTNAME:C/-/${PGSQL_VERSION}-pgbench-/}
COMMENT= PostgreSQL benchmarking tools
@@ -6,5 +6,12 @@ COMMENT= PostgreSQL benchmarking tools
BUILD_DIRS+= contrib/pgbench
.include "../../mk/pgsql.buildlink3.mk" # this one defines PGSQL_VERSION among others
+
+# This package should be removed when PGSQL_VERSION_DEFAULT is bumped
+.if !empty(PGSQL_VERSION:M95)
+PKG_SKIP_REASON+= \
+ "pgbench is now shipped with postgresql${PGSQL_VERSION}-client"
+.endif
+
.include "../../databases/postgresql${PGSQL_VERSION}/Makefile.common"
.include "../../mk/bsd.pkg.mk"